MAXL excution error

Hi All,
I am using essbase version 11.1.2.3 and trying to execute MAXL script.
For example
LOGIN “admin” “password” ON localhost;
alter system unload application test2;
LOGOUT;
Showing execution error "alter system unload application test2;, execution of the statement fails."
Please help me
Thank You
EB

Can you show the full error as here is example of the unload working.
Cheers
John

Similar Messages

  • Maxl on error write to does not create error file

    The following MaxL statement functions except the creation of the dimbuild.err file. I have tried numerous combinations of syntax, server, folders without success.
    I am running this from the MaxL editor on the eas web server.
    import database XYAFIN.Finance dimensions
    from server text data_file "XYAFINPS_11P3.201102240507.txt"
    using server rules_file "DimNew"
    preserve all data on error write to "D:\\Hyperion\dimbuild.err";
    Results:
    Statement executed with warnings.
    Object [Finance] is locked by user
    Building Dimension elapsed time: [3.594] seconds
    There wer errors, look in D:\\Hyperion\dimbuild.err
    I appreciate your help!

    spool stderr on to "D:/Hyperion/StdErr.log";
    spool stdout on to "D:/Hyperion/StdOut.log";
    import database XYAFIN.Finance dimensions
    from server text data_file "XYAFINPS_11P3.201102240507.txt"
    using server rules_file "DimNew"
    preserve all data
    on error write to "D:/Hyperion/dimbuild.err";
    if D:\Hyperion\dimbuild.err already exists then change the last line to:
    error append to "D:/Hyperion/dimbuild.err";
    See how that works.
    Robb Salzmann

  • Maxl - .bat ERROR

    This maxl script works perfectly when run within EAS maxl editor (minus the login and spool), when we run it via a .bat file the calculation will run but nothing else.
    Any help please????? thanks!!!!!!!
    Here's the maxl script:
    login '*****' '******' on devhypeb01;
    /*spool on to '\sacfs1\data\Apps\Hyperion\DEV\Logs\Clear_Build_Load.log';*/
    /*Clear out Actual and Projection before loading new members and data*/
    execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
    /*Load new members*/
    import database Dev_Ace.AceRptg dimensions
    connect as 'user1' identified by 'password' using server rules_file 'Both'
    on error append to 'C:\memberload.err';
    /*Load Data*/
    import database 'Dev_Ace'.'AceRptg' data
    connect as 'user1' identified by 'password' using server rules_file 'Both'
    on error append to 'C:\dataload.err';
    /*Load new member aliases*/
    import database 'Dev_Ace'.'AceRptg' dimensions
    connect as 'user1' identified by 'password' using server rules_file 'AliaBLD1'
    on error append to 'C:\Aliasload.err';
    spool off;
    logout;
    ERROR FILE:::::::::
    MAXL> execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
    OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Actual)].
    OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
    OK/INFO - 1017018 - Removed [0] data blocks.
    OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Projection)].
    OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
    OK/INFO - 1017018 - Removed [0] data blocks.
    OK/INFO - 1012579 - Total Calc Elapsed Time for [clrAnP.csc] : [43.437] seconds.
    OK/INFO - 1013274 - Calculation executed.
    MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
    2> connect as 'user1' identified by 'password'     using server rules_file 'Both'
    3> on error append to 'C:\Hyperion\products\Essbase\eas\client\memberload.err';
    ERROR - 1242021 - (2) Syntax error near ['"'].
    MAXL> import database 'Dev_Ace'.'AceRptg' data
    2> connect as 'user1' identified by 'password'     using server rules_file 'Both'
    3> on error append to 'C:\Hyperion\products\Essbase\eas\client\dataload.err';
    ERROR - 1242021 - (2) Syntax error near ['"'].
    MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
    2> connect as 'user1' identified by 'password'     using server rules_file 'AliaBLD1'
    3> on error append to 'C:\Hyperion\products\Essbase\eas\client\Aliasload.err';
    ERROR - 1242021 - (2) Syntax error near ['"'].
    MAXL> logout;

    MaxL quotes are a stinker and trip people up constantly. It wouldn't surprise me in the least if EAS' MaxL editor worked differently than "the real world".
    I wrote a whole blog post on MaxL and quotes (who would have thought there was a subject there, but if you wade through the cutesy muck, there is value there):
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/10/escaping-maxl-quotes.html
    The two rules I follow are:
    1) Use double quotes
    2) Double escape backslashes
    FWIW, you can also use single forward slashes.
    The inconsistencies are confusing.
    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

  • Maxl "on error write to" doesn't work in scripts, kinda

    We have scripts that include the line:
    on error write to '\\\planfoundprod\Oracle\Errors\Error01.err';
    which work fine if there's an error.
    If there's no error and I'm running the code in EAS MaxL Script Editor it will generate a null (zero-byte) file but what I'd really like is to have a null file generated as part of a MaxL nightly batch processes. The underlying issue is I know the last time the MaxL unsuccessfully ran but I don't know if things are still running or not. Daily .err files would permit me to quickly determine that.
    Similar to what I'm hoping for are the outlineload.cmd scripts that /do/ generate the log file each and every time. I guess that's part of my thought process - while one is a log file while the other is an error file, error-free files are being generated in EAS so it seems this isn't just a pipe dream. TIA
    -Phil

    Many times it's best not to dwell on what essbase can't do, and put that energy towards what you can do to compensate for it.
    Obviously if you have it scripted, simply put a "touch" in the shell script to update a date/time stamp on a dummy file right after the dataload. (one example, for instance)
    Robert
    Edited by: RobertR3 on Dec 11, 2012 11:08 AM

  • Maxl command error

    Hi Experts,
    I am getting the syntax .error when am using the below command in the maxl script to execute Can you please guys help me in this.
    The environment is linux and the cube is ASO cube....
    execute caculation on database test.test with local script_file "\\essbase\\Oracle\\Middleware\\user_projects\\epmsystem2\\EssbaseServer\\Error_Log\\Script\\test\\copydata.txt"
    ERROR - 1242021 - (1) Syntax error near ['caculation'].
    Thanks in advance..
    Regards,
    Raja Mohamed
    Edited by: user4964072 on Oct 23, 2012 5:00 PM

    I think the slashes are fine. Confirm your path is OK if you haven't already. I'm no linux guru but do something like
    cat \essbase\Oracle\Middleware\user_projects\epmsystem2\EssbaseServer\Error_Log\Script\test\copydata.txt
    I notice when you first posted your script the last part of the path was "test copydata.txt" whereas your error states "test\copydata.txt". Don't know if it means anything.. just noticed

  • MaxL - "on error write to" not working

    I am running this script on Unix:
    set datafile=$FilesRoot/load/ActBalDataLoad$LoadMonth.txt;
    import database "'$EssApp'"."'$EssDb'" data
    from local data_file "'$datafile'"
    on error write to 'ActBalDataLoad.Err' ;
    I am getting this result:
    MAXL> import database "'MyApp'"."MyDb'" data
    2> from local data_file "'/home/fbarnes/My_Files/load/ActBalDataLoadAPR.txt'"
    3> on error write to 'ActBalDataLoad.Err' ;
    OK/INFO - 1003040 - Parallel dataload enabled: [1] block prepare threads, [1] block write threads..
    ERROR - 1003014 - Unknown Member [AC.xyz] in Data Load, [119] Records Completed.
    ERROR - 1241101 - Unexpected Essbase error 1003014.
    Any ideas why it is not creating the error file? I want to capture all errors in one run, rather than get the errors one at a time as it is doing now.
    Thank you.

    Hello,
    I am also having this issue.
    I will include my script below but will state some details before
    We are on Essbase 11.1.1.3
    I am running Admin Console from my client PC that connects to the server in the script and I read that in this set up the error file will not get written to. This documentation was for v 9.1.3
    Here is my script (i changed some of the names)
    login 'user' 'password' on server';
    create application 'Money1' as 'Money2';
    spool stderr on to 'errorfile';
    import database 'Money1'.'Main' data
    from local text data_file 'Money1_Data.txt'
    using server rules_file 'Data3';
    on error append to 'dataload.err';
    execute calculation 'CALC ALL;' on 'Money1'.'Main';
    logout;
    spool off;
    exit;
    here is the error output i get:
    code line: on error append to 'dataload.err';
    Statement executed with warnings.
    (3) Syntax error near ['$']
    I don't see a dollar sign anywhere in my code and the error file does not get produced.
    Also do error files get written too if the actins are executed in the background?
    Thanks!
    Alex
    Edited by: user13254074 on 5-Oct-2010 1:31 PM

  • MAxl script error

    MAXL> execute calculation ABC.ABC.uncorp;
    ERROR - 1051030 - Application ABC does not exist.
    MAXL> execute calculation '@RELATIVE ("UNKNOWN CORP CODE",0);' on ABC.ABC;
    ERROR - 1051030 - Application ABC does not exist.
    Can any one help me why I am getting this error? Actually applucation was existed in the server and I am able to see it in adminconsole also. But I am not finding the root cause when I ran it in Command prompt by enabling maxl mode i am getting this error.

    This error is because the Analytic Services cannot find the mentioned application directory.
    Possible solution are:-
    -> If the application was copied or deleted using file system controls (such as Windows Explorer or the cp or rm commands), create a dummy application with the original name and use Analytic Services copy or delete the application correctly.
    -> Make sure that the directory exists in the correct location.
    -> Make sure that you have the correct operating system privileges for the listed directory.
    -> See if another user has locked the directory.
    -> Make sure that the following environment variables are set correctly:
    ARBORPATH (PC and UNIX)
    PATH (PC and UNIX)
    LD_LIBRARY_PATH (UNIX only)
    Make sure that the security file is not corrupt.
    If you are using ESSCMD, make sure that the application directory specified in the ESSCMD command is correct.

  • Maxl syntax error

    Hi,
    I tried to export data form an ASO cube with below maxl syntax.
    SPOOL ON TO   '/.../DATA1.txt';
    WITH
    SET [Period1] AS '{[Period].LEVELS (0).MEMBERS}'
    SET [Version11] AS '{[Final]}'
    SET [Scenario1] AS '{[Actual]}'
    SET [CostCenters1] AS '{[CostCenters].LEVELS (0).MEMBERS}'
    SET [Account1] AS '{[Account].LEVELS (0).MEMBERS}'
    SELECT
    {[Year].[FY12],[Year].[FY13]} ON COLUMNS,
    {CROSSJOIN ({[Period1]},CROSSJOIN({[Version11]},CROSSJOIN({[Cost_Centers1]},{[Account1]})))))))) ON ROWS
    FROM
    [APPLICATION].[DATABASE]
    SPOOL OFF;
    but it showed an error with the line :
    {[Year].[FY12],[Year].[FY13]} ON COLUMNS,
    i don't understand why.
    BTW, the data in the cube got about 1,500,000 records, can i export it with the above syntax?

    You may get around the 2^32cell limitation by using NonEmptySubset.  See the documentation.
    Given an input set, NonEmptySubset returns a subset of that input set in which all tuples evaluate to nonempty. An optional value expression may be specified for the nonempty check.
    This function can help optimize queries that are based on a large set for which the set of nonempty combinations is known to be small. NonEmptySubset reduces the size of the set in the presense of a metric; for example, you might request the nonempty subset of descendants for specific Units.  NonEmptySubset is used to reduce the size of a set before a subsequent analytical retrieval.
    This function trims members from some of the dimensions by including only those member combinations that have data associated with them. Instead of processing all dimension combinations at once, it processes crossjoined set of only a subset of dimensions first, trims them to include only those tuples that have data,then combines it with other dimensions.
    DATAEXPORT is also an option.
    Of course you could always pull smaller sets.

  • Encrypted Maxl "Parse error near in" error

    Hello,
    I'm facing a "Parse error near in" error when trying to use encrypted Maxl scripts deploying Essbase Studio cubes.
    The problem seems to be in the deploy command. If I do not use encrypted Maxl ( -D option ), the same deploy command works fine.
    Look in the deploy command that I'm not using encryption for loging into Essbase Studio. Even using encryption the same error is issued.
    Here is the log: ( I changed sensitive information for obvious reasons )
    Essbase MaxL Shell - Release 11.1.2 (ESB11.1.2.1.0B347)
    Copyright (c) 2000, 2011, Oracle and/or its affiliates.
    All rights reserved.
    MAXL> login $key 99999999999999999999999999 $key 99999999999999999999999999 on s01ubd01;
    OK/INFO - 1051034 - Logging in user [ESBSAUH1@AD_Directory].
    OK/INFO - 1241001 - Logged in to Essbase.
    Essbase MaxL Shell - Release 11.1.2 (ESB11.1.2.1.0B347)
    Copyright (c) 2000, 2011, Oracle and/or its affiliates.
    All rights reserved.
    MAXL> deploy outline from model 'cboPremioModelo2' in cube schema '\BI_SAUDE\Cubos\Premio\cboPremio'
    with option delete_members login "xxx" identified by "yyyyy" on host "s01ubd01"
    to application "Premio" database "Premio" using connection "Essbase" keep all errors on error ignore dataload write to default;
    essmsh error: Parse error near in
    essmsh timestamp: Wed Jul 04 12:52:03 2012
    MAXL> logout;
    User esbsauh1 is logged out
    essmsh timestamp: Wed Jul 04 12:52:03 2012
    MaxL Shell completed

    There have been a number of MaxL bugs with encryption that produce 'Parse error near...' messages. If you login to Oracle Support and search the Knowledge Base on 'Parse error near' you will find them. I can't see anything specifically relating to 11.1.2.1 or a known defect in the release notes... ...I'd get a support ticket raised, if you haven't already.
    You don't mention platform, but I've also run into a bug running 'deploy' in 11.1.2.1 on a 64-bit Windows environment and there was a Unix bug too, but they both caused crashes so probably aren't your problem.

  • WEB Service task excuting error "method not found"

    Hii All,
    I am the beginner of ssis, and on executing the package I am getting error :
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.BizTalkServiceInstance.Submit'
    not found..
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    Please help me out..

    Hi Mangla,
    Based on my research, the issue always caused by the data type of input variable mismatch for the Web Service. For example, the input type for web service is String. The variable was of type Object but in fact it was a Decimal stored in it. Obviously SSIS
    Web Service Task will not implicitly do a .toString() call on the input variable. So the issue occurs.
    To fix this issue, please change the type of the variable. For more details, please refer to the following similar thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1073ad37-ed05-4ab4-85e3-689e1cd17a68/ssis-web-service-task-error-with-wcf-service
    Besides, SSIS cannot invoke services with spaces in the names. And we should configure the HTTP connection manager the following ways:
    Use credentials.
    Use a client certificate.
    Provide a time-out for connecting to the server and a chunk size for writing data.
    Use a proxy server.
    Reference:
    HTTP Connection Manager
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Query excution error

    Hi friends
    I'm getting folowing error message while executing the query in Bex.
    Retreiving from the BW server faile.BW server raised EXCEPTION SYSTEM_FAILURE.
    And in details it is having the following message
    "Errpr group RFC_ERROR_SYSTEM_FAILURE"
    Message: Feild Symbol has not assigned.
    Please give me the solution for my problem.
    Thanks in Advance.
    SKR

    hi S K R,
    do you use virtual characteristics/keyfigures ?
    try to check more detail info in st22 short dump,
    check in which line the 'field symbol not assigned' happened. check if it's happened in program include zxrsrzzz (se38) ? if so check the line in that program and fix the error. you may need code like following
    field-symbols <l_0calday>.
    assign component g_pos_ls_flash_0calday
      of structure c_s_data to <l_0calday>.
    hope this helps.

  • Maxl stmt Error

    Hi,
    When I try to export the level 0 data with the below statement, it is prompting me the error message :
    export database MFGBRC08.050607 level0 data in columns to data_file 'C:/196gh03/essbase/Backup/050607/MFGBRC08_050607.txt'
    ERROR - 1242021 - (1) Syntax error near ['.050607'].
    what could be the problem with the above statement ?
    Is with the database name Problem ?
    Regards.

    since db name is all numeric, you need to enclose is it inside quotations ''
    try this one...
    export database 'MFGBRC08'.'050607' level0 data in columns to data_file 'C:/196gh03/essbase/Backup/050607/MFGBRC08_050607.txt'
    - Krish

  • MAXL Script error in UNIX

    Hi All,
    i have a maxl script to export the level 0 data and also a shell script with command "*essmsh maxlscriptname.mxl*" in it, the version that i am working on is essbase 11.1.2 and the platform is in unix.
    I have seen that, for the maxl script to work in version 11 we have to use the command "*startEssmsh.sh*" so that it sets all the variables and then runs the required script.
    The problem is, i dont have startEssmsh.sh in my \bin directory and even if i change my shell script to "*startEssmsh.sh maxlscriptname.mxl*" its not working, it says that startEssmsh.sh not found.
    Kindly let me know on how to run the mxl script in unix with no startEssmsh.sh file present \bin directory. Are there any manual steps to set up the variables and if yes, what are they.
    Thanks,
    Amogh

    The script you are looking for is:
    <MIDDLEWAREHOME>/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin/startMaxl.sh
    In UNIX you will need to use the full path to startMaxl.sh unless you have <MIDDLEWAREHOME>/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin in your PATH statement.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Error is not getting logged in error file while running dataload maxl

    Hello All,
    I am running a Maxl to load data in a database which is running fine but noted a weird issue that the errors are not getting logged in error file. Suppose i changed the name of data file then it should give error something like
    ERROR - {Error no.} - Unable to open file {filename} which should be logged in error file but my error file is still empty.
    I am using the Maxl -
    import database {dbname} data from data_file {filename} on error append to "D:/Error/errorfile.err";
    Any inputs please...
    Thanks

    Try to use single quotes and the backslash. It may depend on the operating system and /or the version of essbase used. This is an example from one of my maxls:
    on error append to 'D:\Hyperion\logfiles\myload.err';
    cheers, chris

Maybe you are looking for

  • Excise Duty not calculated at MIRO

    Hi We have upgraded the patch level of SAP_APPL  from 10 to 11. Now, in PO we have assigned a tax code for calculation of excise duty at 14.42%. In the tax details in PO Items, system is showing the calculation of excise duties correctly.When the exc

  • Exice Invoice

    hi, while saving excise invoice for factory sale i am getting following error- Balance in transaction currency How to solve this? Rahul

  • IMac is not bringing up websites/not air printing

    I'll start by saying I've turned everything off and on and restarted the router, printer, computer etc... Still having issues. With that being said here's what's going on: I have a 2009 iMac and I cannot connect to my wireless printer anymore and can

  • MS Sharepoint Integration

    Hello, has anyone already made experience with the integration of MS Sharepoint with the SAP EP, especially for KMC features? Any information about this topic is appreciated. Kind regards Christopher Höfele

  • Smartform print program

    hi all, I have copied rlb_invoice in a zprogram.Iam getting my smartform in the print preview but it is empty . I want to know where to write the select statements. thanx & rgds. points will be rewarded. Message was edited by:         abapuser Messag