MAXL command doubt....

Hi ,In maxl I use the following command to load dimension but it gives error near the datasource or coneection name.import database DMTest.DMAuto dimensions "'sgddmt'" using rules_file "'c:/essbase/app/DMTest/DMAuto/allDMld.rul'";It gives the following error:6 - (1) Syntax error near ''sgddmt using rules_file ''. 131 - DX compilation failed.can anyone point out what is wrong with the above statement.thankssuja.

Hi Suja,From your definition I believe 'sgddmt' would be the data file name. If so, the command line should be like thisimport database DMTest.DMAuto dimensions from data_file '/.../sgddmt.txt' using rules_file '/../allDMld.rul'; Hope this helps. You can contact me if you still couldnt arrive at the point.JG

Similar Messages

  • MaxL Commands with a .BAT

    Is there anyway to execute MaxL commands inside Essbase using a ".BAT" file?
    Like write "Create application Test;" on a TXT then use a ".BAT" to read this TXT as a parameter file in order to create an application inside Essbase.
    I think the ".BAT" must be like any other else but my doubt is if must have some kind of logging commands at the TXT or any other commands.

    here's a sample:
    in the MaxL file you write this:
    spool on to 'c:\Logs\login.out';
    login $1 $2 on $3;
    spool off;
    In the Batch file you write this:
    set uid=userid
    set pwd=password
    set svr=localhost
    essmsh "c:\scripts\login.msh" %uid% %pwd% %svr%
    Note: Make sure there is no space between the "=" sign and your variables.
    or you can skip the variables and just pass the parameters directly to the msh file, something like this:
    essmsh "c:\scripts\login.msh" userid password localhost
    Message was edited by:
    didopiff

  • EPM 11.1.2.1 add a MSAD user to a HSS native group via MaxL command

    Hi there
    I want to take over MSAD user as EPM (Essbase) user in a HSS native group via MaxL command:
    This works fine as long as the user is already in at least one other group (with at least server access).
    If I want to do same for a "new" user it fails.
    Is there any trick to also make it work for this case?
    see here:
    alter user 'mynewuser' add to group 'ALL_SERVER_ACCESS_ ESS1';
    ERROR - 1051012 - User mynewuser does not exist.
    or even
    alter user 'mynewuser@domain' add to group 'ALL_SERVER_ACCESS_ ESS1';
    ERROR - 1051012 - User mynewuser@domain does not exist.
    Thanks in advance!
    Regards
    Andre

    You will probably need issue a create first for example
    create or replace user 'essuser' type external;
    alter user 'essuser' add to group essgroup;
    or
    create or replace user 'essuser@LDAPNAME' type external;
    alter user 'essuser@LDAPNAME' add to group essgroup;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Using substitution variable with multiple values in Maxl Command

    Hi All,
    Is there any option to use multiple values in 1 substitution variable and use them in a Maxl command.
    alter database $app_name.$db_name clear data in region '{CrossJoin(CrossJoin(CrossJoin({StrTOMbr(&Months)},{XXX, YYY}),{StrTOMbr(&CURYR)}), {ZZZ})}'physical;
    In the above case
    Maxl is not working if I have multiple months in &Months Substitution variable.
    Let me know if there is an alternate option to implement this.
    Thanks
    Sathish

    What is the value of &Months?
    If you put that exact value into the code, does it work?
    Regards,
    Cameron Lackpour

  • MaxL Command    :    ERROR - 1241101 - Unexpected Essbase error 1007083

    Hi,
    I have created outline here I have created one dimension i.e. Account
    and also created Rule file as per databse outline. It is valid
    successfully.
    Now I have to load dimension by using MaxL command.
    I have created Account.csv
    within that I have take :
    Account->xyz
    xyz->abc members.
    I am loading dimension by using following statement:
    import database PLAN.PLANDB dimensions from data_file 'D:\Practice\Account
    .csv' using rules_file 'C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseSer
    ver\essbaseserver1\app\PLAN\PLANDB\plan.rul' on error append to 'C:\Oracle\Middl
    eware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\PLAN\Log\plan.log';
    So I getting following error:
    OK/INFO - 1053012 - Object [PLANDB] is locked by user [admin@Native Directory].
    OK/INFO - 1053012 - Object [52772261] is locked by user [admin@Native Directory
    ERROR - 1007083 - Dimension build failed. Error code [1090003]. Check the ser
    ver log file and the dimension build error file for possible additional info..
    OK/INFO - 1053013 - Object [52772261] unlocked by user [admin@Native Directory]
    ERROR - 1241101 - Unexpected Essbase error 1007083.
    OK/INFO - 1053013 - Object [PLANDB] unlocked by user [admin@Native Directory].
    and also in log file I getting message like:
    \\Column 1 Ignored; No DimBuild Dimension (3325)
    \\Column 3 - Invalid Dimension
    So could you tell me why I getting this types of error.
    what is the meaning of log file information i.e. "Invalid dimension."

    Hi,
    As per the error message, there was a mismatch of the dimension tagging or incorrect rules. Did you try to build the dimension/members using EAS Console?
    Take a simple sources file and rules file and re-build the dimension.
    You can try the following:
    1. Launch EAS Console and login using Administrative user credentials
    2. Connect to Essbase Server using administrative user credentials
    3. Create a test Application & Database say TestApp & TestDb
    4. Open the outline in the edit mode and create a dimension "Measures"
    5. Open the notepad and Create a source file as:
    Profit Margin Sales
    Profit Margin COGS
    Save the file in the c:\ drive as Sales.txt
    6. In EAS Console, right-click on database and select create Rules File and import the Source file
    7. Set the Field Properties.
    8. Build the dimension and check if the members are added to the Measures dimension
    9. Delete the members under Measures and then try the MaxL Script.
    Hope it helps....
    KosuruS

  • Execute MaxL command througth ODI and encrypt password

    Hi
    I am looking for a solution to not use plain text password for my Maxl command in ODI.
    Anyone know how should I do that?
    Up to now, I found nothing.
    Thanks
    Alain

    Hi,
    Here is a example of encrypting the login credentials in a maxl scipt.
    First run something like this from a command prompt
    essmsh -gk >> c:\temp\encryptKeys.txt
    This will create a text file with the public and private keys e.g.
    e.g.
    Public Key for Encryption: 5407,1453704157
    Private Key for Decryption: 406488703,1453704157
    Now say you have a maxl file called login.mxl like
    login admin password on localhost;
    logout;
    You can encrypt it by calling
    essmsh -E c:\temp\login.mxl PUBLIC KEY
    So for this example it would be
    essmsh -E c:\temp\login.mxl 5407,1453704157
    This will create an file called login.mxls with encrypted login details e.g.
    login $key 6343689380045143584028576355606972733930 $key 1468602100275634090163724540502857635560 on localhost;
    logout;
    Now to execute the file you need to use the command
    essmsh -D c:\temp\login.mxls PRIVATE KEY
    so in this example
    essmsh -D c:\temp\login.mxls 406488703,1453704157
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • MaxL Command for GETDBSTATS (Esscmd)

    Hello,
    I do see in the documentation that the equivalent for the Esscmd GETDBSTATS is "query database sample.basic get dbstats data_block".
    Can someone let me know if there is a MaxL command to know the average clustering ratio of a DB?
    Thanks,
    - Krrish

    Oppss...My bad!!! I think I figured out. The same command does give the average clustering ratio information as well.

  • Maxl command for HBR

    Hi
    Is there any Maxl command which helps assigning access rights to Business Rule?
    Thanks
    Shyam

    Maxl does not interact with business rules,unfortunately there is no command line functionality for setting access permissions with classic business rules.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Maxl command for DB stats

    Hello all,
    Can anybody provide me the MAXL command for checking the database stats.
    Thanks in advance

    Per the Tech Ref's Esscmd to MaxL Mapping link: query database sample.basic get dbstats data_block;
    Just search down the page: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_cmd2mxl_mapping.htm
    Here's the full command: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_qrydb.htm
    Regards,
    Cameron Lackpour

  • How to run a maxl command

    Sorry for the very basic question, but I don't know where to start with it...
    What do I have to do to run a maxl command?
    I suppose I have to do something from Essbase administartion services, right?
    Thanks

    What version of EPM are you on?
    If its 11.1.1.x, go to command prompt & type essmsh and enter. See if that opens maxl session.
    If its 11.1.2.x, type startmaxl.bat instead of essmsh in above step & see if maxl session opens.
    You can execute MaxL statements in Essbase Admin. Console too.
    Regards,
    Santy.

  • Refresh Security using MaxL command

    Hi All,
    When trying to refresh security from shared services using the below maxl command:
    alter user 'henkej03' sync security with all application;
    getting the below error:
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Info(1051590)
    Synchronization started for user/group [hypadmin]
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Error(1051514)
    Analytical Services failed to get roles for users and groups for applications during refresh/login sync/user sync from Shared Services Server with Error [CSS Error: Internal Error. Function getmultiUGmultipAppRoleList]
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Warning(1051003)
    Error 1051514 processing request [Set User/Group List] - disconnecting
    Can anyone help me on the above.
    Thanks in advance,
    Raja

    Thanks guys...
    but my HSS and LDAP was up and running, I think there was temporary problem in network ... today I got error...
    ERROR - 1051514 - Analytical Services failed to get roles for users and group
    s for applications during refresh/login sync/user sync from Shared Services Serv
    er with Error [Cannot find application with ID ESBAPP:bopelim1_AHQLUBNT118_2].
    tried to use "resync all.." but failed...
    Checked in HSS and app was not registerd..to HSS :) .. so regiseted with HSS and User was refreshed succesfully !
    In case you encounter the "ERROR - 1051514", check if the app is registered to HSS or not?
    have a nice time !!!
    SD

  • Display session maxL command is hanging

    Hi All,
    I am using maxL editor in EAS console to execute the display session command.My requirement is to know the number of Active sessions in to a Essbase Application.
    I execute the following maxL command
    display session on database <APPLICATION_NAME>.<DB_NAME>;
    But when I execute this statement it is not executed rather EAS console is totally hanged.I tried it using another essbase server but result remains the same.
    I am able to execute other maxL commands like "display applicaion all" without any problem.
    I even tried to execute maxL using java API but even there it is hanging.
    I there anything I am missing or anything I can do to execute the command.
    will really appreciate quick response.
    Thanks,
    Abhishek

    For me the solution was in the essbas.cfg: NO_HOSTNAME_LISTCONNECT TRUE
    Help says:
    NO_HOSTNAME_LISTCONNECT Configuration Setting
    When using the display session MaxL statement to view active login sessions, specifies whether to convert the IP address of the client computers that are logged into Essbase to the computer’s hostname.
    When set to TRUE, IP addresses are not converted to hostnames, which improves the performance of the display session MaxL statement. [7314737]
    Hope it helps,
    Antonio P.

  • Restructure using maxl command

    hi ,how can we restructure database using maxl command.
    Actualy there is a planning application and i want to restructure database but i am planning on automating the process to run in the night but i am not able to make sure which command is the one for restructuring.

    If we are running this command data is gettiung cleared ?
    Edited by: NareshKumar on Mar 30, 2012 3:32 PM

  • Run Maxl command in fdm

    Hi,
    Is it possible to execute any maxl commands in FDM. If so could you pls let me know how to do it.
    Thanks,
    Hima

    Hi,
    I tried executing a sample batch script and it working fine, but then I just added the essmsh E:\test.msh in the batch file and run FDM.
    Its not working. The maxl file is not working. I used shell.run to execute the bat file.
    The batch file is having the essmsh (calling a maxl )
    Can you let me know where I am going wrong.
    And pls help me to know the API functions to be used to execute the calc scripts.
    Thanks,
    Edited by: user10720012 on Mar 2, 2011 1:41 PM

  • Maxl command that differentiates ASO and BSO?

    I want to differentiate between the ASO and BSO db in Essbase(9.3.1) using some MAXL command.
    Do we have some MAXL command that shows the property of Databases?
    I was hoping to use the command
    execute aggregate selection on database ASOSamp.Sample
    This command gives an error when run on a BSO.
    Ex:
    *[admin/localhost]execute aggregate selection on database Sample.Basic
    Execution Message:
    MaxL requires an aggregate storage application for this operation.*
    I was wondering if Maxl generates a return code for this. If it does, how can I capture this return code?

    To give a vague answer, you could run the command in your maxl script and use an iferror statement. It will not tell to the error number but that the command failed.
    Edited by: [email protected] on Oct 13, 2008 1:10 PM
    If I could only spell

Maybe you are looking for

  • Read values from html response

    Hi, I am trying to make a call to an API using UTL_HTTP POST method over SSL and read the response html page and extract the values from the reponse. I am able to call and get a response back in html format. I have stored the html response in a clob

  • Copying of Shipping tab fields from Customer master to Sales Order.

    Dear SAP SD Gurus, I am trying to create an Order, but the Data in the Shippining tab of the Customer Master doesnt get Copied  in to the Sales ORder. the Fields in the Cuystomer master are 1) Partial delivery per item 2) Max. partial deliveries. and

  • Report  and SAP-SCRIPT  &  SCREEN PAINTER

    Hi all ,   I need some help. 1)How to transport sap-script. 2) print program of sap script are client-dependent or client-independent. 3)Database tables ( on se11)  are client-dependent or client-independent. ( is sy-mandt will make dependent or inde

  • How to get latest version of FCPX?

    My FCPX screen shows 10.0.5 but when I go to Download Additional Content, it  checks for updates, then tells me my software is up to date. Isn't 10.0.7 the current version?

  • JMS Acknowledgement message handling

    Hi All,             I have one scenrio, which is From HTTP Plain   to JMS , which is aSychnorous, But i need to capture the Acknowledgement from the legacy system back , so is there any way that apart from making JMS synchronus and tell any method wh