ASO Allocation Maxl error

Syntax error in input mdx query on line 1 token ","
Allocation terminated with essbase error 1260052 in POV
execute allocation process on database ASOALLOC.ALLOCAT with
pov "crossjoin([Year].[FY10],
crossjoin([period].[Jan],
crossjoin([account].[a111],
([Entity],[Entity].levels(0)))))"
amount "([account].[a111]"
target      ""
range "{[Entity].[e222]}"
spread;
Edited by: mb021059 on Oct 13, 2010 5:13 AM
Edited by: mb021059 on Oct 13, 2010 6:53 AM
Edited by: mb021059 on Oct 13, 2010 7:00 AM

I really don't understand what you are trying to do (may be because you are in 11 version{allocation in ASO cube sounds kool).
but I can tell you the syntax error you are getting at first line.
change it to:
"crossjoin([Year].[FY10],crossjoin([period].[Jan],crossjoin([account].[a111],[Entity].levels(0))))"
Thanks,
Jeeth
Edited by: Jithendra on Oct 14, 2010 5:20 PM

Similar Messages

  • Help on Crossjoin Syntax Please on ASO Allocation

    Hi,
    Tyring to run an ASO Allocation via MaxL. I always have trouble with syntax on CrossJoins for some reason. When I run the below I get an error:
    ERROR - 1260052 - Syntax error in input MDX query on line 1 at token ')' .
    ERROR - 1241192 - Allocation terminated with Essbase error 1260052 in AMOUNT.
    execute allocation process on database appname.dbname with
    pov
    "Crossjoin(Descendants([Total Year],[Year].levels(0)),
    Crossjoin(Descendants([YearTotal],[Period].levels(0)),
    Crossjoin(Descendants([Version],[Version].levels(0)),
    Crossjoin(Descendants([Total Product],[Product].levels(0)),
    Descendants([Total Employee],[Employee].levels(0)) ))))"
    amount "([NET INCOME/(LOSS)],[Actual])"
    target "([OH_Per_Unit],[AllocAct])"
    range "Descendants([Total Entity],[Entity].levels(0))"
    basis "([Funded Units],[Actual])"
    share;
    logout;

    This is something which I've done
    execute allocation process on database smp.smp with
    pov 'Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin({Descendants([AC_10000], [Accounts].Levels(0))},{&ActualMonth}),{&ActualYear}),{Descendants([Input Currency], [Currency].Levels(0))}),{Descendants([no entity], [Entity].Levels(0))}),{Descendants([Country Code], [Country Code].Levels(0))}),{Descendants([cost center], [Cost Center].Levels(0))}),{Descendants([Source], [Source].Levels(0))})'
    amount '([PRTOT], [Actual], [All Clients], [Act_Tot], [Final])'
    target ""
    range 'Crossjoin(Crossjoin(Crossjoin(Crossjoin({Descendants([Working], [Version].Levels(0))},{Descendants([Plan], [Scenario].Levels(0))}),{Descendants([100-10], [Product].Levels(0))}),{Descendants([cl_cola], [Client].Levels(0))}),{Descendants([act_12121], [Activity].Levels(0))})'
    spread;You cannot paste your code, calc manager provides a GUI version of allocate command where you can just type in your members.
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the responses as helpful/correct if applicable
    Edited by: Celvin Kattookaran on Apr 11, 2013 2:16 PM

  • MaxL error 1241114 - There were errors, look in...

    I am running the following MaxL in a batch script on one of our Essbase cubes, which passes the MaxL to ESSMSH.
    MaxL:
    login admin identified by ******* on *******;
    iferror "errorhandler";
    spool stdout on to "\\*******\\*******\\Logs\\*******BefLoad.log";
    iferror "errorhandler";
    spool stderr on to "\\*******\\*******\\Logs\\*******BefLoad.err";
    iferror "errorhandler";
    set timestamp on;
    execute calculation "'FIX(\"*******\",@ICHILDREN(\"*******\")) CLEARDATA \"*******\"; ENDFIX'" on *******.*******;
    iferror "errorhandler";
    import database *******.******* dimensions from data_file "\\\\*******\\FDMDATA\\*******\\Outbox\\*******.Dat" using server rules_file "L_Data" preserve input data on error append to "\\\\*******\\*******\\Logs\\*******BefLoad.err";
    iferror "errorhandler";
    logout;
    exit 0;
    define label "errorhandler";
    exit 10;
    However, every time the MaxL executes, I have the following single line generated in the "\\*******\*******\Logs\*******BefLoad.err" file:
    WARNING - 1241114 - There were errors, look in \\*******\*******\Logs\*******BefLoad.err.
    This error is actually pointing to itself (the .err file), however this is the only line with no further information, and is generated every time the batch script is run, even though the build appears to have worked fine. I have double-checked and there are no errors (or even warnings) in the Essbase application log to suggest anything has gone wrong!
    Does anyone please have a suggestion as to why it is being generated? Can we just ignore this error? I have read the following, which points out that data load errors will not be trapped by the MaxL "iferror" statement. However, it would be useful to know why this error is occurring and specifically what is going wrong.
    MaxL Error Codes

    Hi James -
    Your dataload errors are getting spooled to the same file as Essbase is trying to spool the message saying that there were dataload errors. I wouldn't count on that working the way you expect it to, and it's not an approach I have ever used - I'd think keeping the stderr spool separate (i.e. separate files) from the dataload errors makes sense.
    My bet is that if you point the two error streams to different files you'll see that there are in fact load errors, they're just getting messed up by the fact that stderr and dataload errors are pointing at the same file.
    BTW, I appreciate that you're anonymizing for client confidentiality (amazing how many folks post info that obviously identifies their company and give out server / user names...), but any chance you could use e.g. 'appname', 'dbname' etc rather than *******? Asterisks make my eyes hurt, but more importantly they make the different tokens impossible to distinguish. Cheers!

  • MAXL error handling

    Can someone show me an example of MAXL error handling, especially in cases of copying or creating an app/db and it already exists?Thanks,Alex

    Hi,Can someone explain what advantages enterprise has over reports?

  • Essbase ASO Allocation

    Hi, all,
    I am writing an ASO allocation script, which is working now. However, I wonder whether there is any way to easily have some mathematics operations on some of the fields. For example, in the following allocation script, how can i use the negative figures of the amount to allocated out? For example, "([East],[Total_Expenses])" is a positive 1000. However, I would like to have the negative 1000 (e.g. -1000) to be allocated amount?
    execute allocation process on database DemoASO.Basic with
    pov "Crossjoin(Descendants([Year],[Year].levels(0)),
    Crossjoin(Descendants([Product],[Product].levels(0)),
    Descendants([Scenario],[Scenario].levels(0))))"
    amount "([East],[Total_Expenses])"
    target ""
    range "CrossJoin({[Sales],[Cost_of_Goods_Sold]},
    Descendants([South],[Market].levels(0)))"
    spread;
    Is there a easy way to do such amount calculation in the ASO allocation script? Or I have to created additional members in outline to do such reversal of the sign?
    Appreciate any suggestions/ideas?
    Thanks a lot

    Major caveat - I haven't used the function - but have you looked at the Technical Reference?
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_execalloc.html
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_alloc_numeric.html
    The example there says that 'amount' is a numeric expression, i.e. you don't just have to list a member or tuple there. It looks like you can use an arithmetic expression, but if you do all members must be from the same dimension - so your {[East], [Total_Expenses]} might be problematic. But that's obviously a sample rather than your actual use case.

  • MaxL error tracking II

    I have a simpler question about tracking errors from a Maxl script. I run a Unix script that calls Maxl to back up the Essbase applications. I just want to trap the return code and send a email if there were any errors from the Maxl script. I'm using the follow code to trap any errors from the Unix commands. This is working for the Unix commands but does not reccognize errors from the Maxl script. Is there a way I can set the return code in the maxl script to non zero when an error occurs. Currently the return code is zero after returning from Maxl when an error occurs.
    error_message()
    mailx -s "Essbase backup error" email@... < /opt/BackupError.txt
    trap 'error_message' ERR
    set -e
    cd /opt/hyperion/HYP_BACKUP/scripts
    /opt/hyperion/AnalyticServices/bin/essmsh < /opt/staff/MaxlScript.msh > /opt/staff/Maxl.log 2>$1
    exit
    Thanks,
    Tom

    I'm no *nix jockey, so you're going to hear this from a Windows perspective.
    In Windows, %ERRORLEVEL% will return the error code, sometimes. See my comments in this thread: MaxL error tracking
    A more robust approach would be spool errors to STDERR, and then test to see if that file exists, and if so, what's inside.
    ^^^Probably not what you wanted to hear.
    Regards,
    Cameron Lackpour
    Edited by: CL on Oct 1, 2009 2:10 PM
    Just an add on that writing a routine that interrogated the file shouldn't really be that big of a deal. Once you code your own way on this you can pass whatever value you want on to the calling code.

  • ASO Allocation EXCLUDERANGE syntax question

    am developing an allocation script and need to be able to exclude certain members identified by UDAs from the allocation. When I try to use the UDA function in the excludedrange specification I cannot find a solution to the requirement to have the excluded range statement in double quotes as well as the UDA value. Script is as follows:
    execute allocation process on database app.db with
    pov "Crossjoin({[Final]},
    Crossjoin({[b701]},
    Crossjoin({[c21001]},
    Crossjoin({[i000]},
    Crossjoin({[All Reports]},
    Crossjoin({[All Channels]},{[a41510]})
    amount "[PD08]"
    amountcontext "([l0999],[Act],[2013])"
    target "([Alloc],[PD08],[2013])"
    range "Attribute([Status_Open])"
    excludedrange "UDA([Location], "Exclude_Alloc_1")"
    spread
    Can anyone suggest an escape character combination that might work ?
    Thanks,
    Gavin

    I really don't understand what you are trying to do (may be because you are in 11 version{allocation in ASO cube sounds kool).
    but I can tell you the syntax error you are getting at first line.
    change it to:
    "crossjoin([Year].[FY10],crossjoin([period].[Jan],crossjoin([account].[a111],[Entity].levels(0))))"
    Thanks,
    Jeeth
    Edited by: Jithendra on Oct 14, 2010 5:20 PM

  • ASO - Create database error

    I have been tried to create ASO database from either esscmd or maxl, but both failed.<BR><BR>For esscmd: copydb "oldApp" "oldDatabase" "newApp" "newDatabase";<BR>for maxl: create database newApp.newDatabase as oldApp.oldDatabase<BR><BR>Both got same error: Operation not supported for aggregate storage applications.<BR><BR>Any helps would be great.<BR>Thanks,<BR>Yan

    This is because you need to do a little bit more then you just did. This is what I used on my local machine (OS X) for my database area51, the script was created by the DBCA. As you can see I point to a pfile before I create the database. In this init.ora file, the db_name has been set (among a lot of other stuff). Therefore I gave you the hint to look into the documentation ;)
    connect SYS/&&sysPassword as SYSDBA
    set echo on
    spool /u01/admin/area51/create/log/CreateDB.log
    startup nomount pfile="/u01/admin/area51/create/init.ora";
    CREATE DATABASE "area51"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '/u01/oradata/area51/system01.dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '/u01/oradata/area51/sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/u01/oradata/area51/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    UNDO TABLESPACE "UNDOTBS1" DATAFILE '/u01/oradata/area51/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P15
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/u01/oradata/area51/redo01.log') SIZE 10240K,
    GROUP 2 ('/u01/oradata/area51/redo02.log') SIZE 10240K,
    GROUP 3 ('/u01/oradata/area51/redo03.log') SIZE 10240K
    USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    spool off

  • ASO App Rename Error

    Hi all,
    I am trying to rename an ASO app with the following MaxL script.
    alter application 'TEST4' rename to 'TEST5';
    it results in the following error -
    ERROR - 1053019 - Cannot rename directory: App directory path[Permission denied].
    Please help.

    I have all the privileges. I am the Administrator. I gave myself all the rights on the server. But if you mean that i need to give myself rights to dynamically created applications, I wonder how i can do that. The process that i am trying to accomplish here is, to build and load an ASO application, say ASO1, and then copy the built application over to another application, say ASO2. The purpose is to make sure atleast one of the ASO applications is available to the users at any point in time. Also to your point of having privileges on the specific application, when i run the MaxL script, all the files in the directory get deleted except for the "essbaseapp.instance" file.

  • ASO Custom Calc -Error-1241109 :Unable to open file

    Hi,
    I am trying to implement ASO custom Calc in version 11.1.2.1 ,using following Version DataCopy script in Maxl Editor
    In POV i have included 1 set of base level member from each dimension just for testing purpose.
    TestScript.csc Content : [Final] := [Working_0] ;
    execute calculation on database 'EFXBASE'.'EFXBASE' with
    local script_file "/Oracle/Middleware/user_projects/achd1rka001/EssbaseServer/essbaseserver1/app/EFXBASE/EFXBASE/TestScript.csc"
    POV
    "Crossjoin({[FXEXP]},Crossjoin({[Jan]},Crossjoin({[FY06]},Crossjoin({[CH_None]},Crossjoin({[PJ_None]},Crossjoin({[PD_None]},Crossjoin({[CC_0300]},
    Crossjoin({[0004]},Crossjoin({[CurrFcst]},Crossjoin({[Local]},Crossjoin({[ICP_None]},{[LSTB]})))))))))))"
    SourceRegion
    "[Working_0]" ;
    I am getting following error on execution of above script
    Unable to open file ['/Oracle/Middleware/user_projects/achd1rka001/EssbaseServer/essbaseserver1/app/EFXBASE/EFXBASE/TestScript.csc']
    Custom Calculation terminated with Essbase error 1241109
    what could be the reason .. I have tried using '//' or '\' in file path but still getting same error.

    Can you post your script. (change " to ' in POV and SourceRegion section)
    Regards
    Celvin
    http://www.orahyplabs.com
    *Please mark the responses as helpful/correct if applicable*

  • Maxl Error during data load - file size limit?

    <p>Does anyone know if there is a file size limit while importingdata into an ASO cube via Maxl. I have tried to execute:</p><p> </p><p>Import Database TST_ASO.J_ASO_DB data</p><p>using server test data file '/XX/xXX/XXX.txt'</p><p>using server rules_file '/XXX/XXX/XXX.rul'</p><p>to load_buffer with buffer_id 1</p><p>on error write to '/XXX.log';</p><p> </p><p>It errors out after about 10 minutes and gives "unexpectedEssbase error 1130610' The file is about 1.5 gigs of data. The filelocation is right. I have tried the same code with a smaller fileand it works. Do I need to increase my cache or anything? I alsogot "DATAERRORLIMIT' reached and I can not find the log filefor this...? Thanks!</p>

    Have you looked in the data error log to see what kind of errors you are getting. The odds are high that you are trying to load data into calculated memebers (or upper level memebers) resulting in errors. It is most likely the former. <BR><BR>you specify the error file with the <BR><BR>on error write to '/XXX.log'; <BR><BR>statement. Have you looked for this file to find why you are getting errors? Do yourself a favor, load the smaller file and look for the error file to see what kind of an error you are getting. It is possible that you error file is larger than your load file, since multiple errors on a single load item may result in a restatement of the entire load line for each error.<BR><BR>This is a starting point for your exploration into the problem. <BR><BR>DATAERRORLIMIT is set at the config file, default at 1000, max at 65000.<BR><BR>NOMSGLOGGINGONDATAERRORLIMIT if set to true, just stops logging and continues the load when the data error limit is reached. I'd advise using this only in atest environement since it doesn't solve the initial problem of data errors.<BR><BR>Probably what you'll have to do is ignore some of the columns in the data load that load into calculated fields. If you have some upper level memebers, you could put them in skip loading condition. <BR><BR>let us know what works for you.

  • FI-GL allocation - distribution error: no valid receiver entries exist

    When creating an allocation cycle with fixed percentages and distribution defined on own Z-field (exists in table T800D without
    checks) we get Message no. GA109 when going to the receiver tracing factor screen.
    This happens only when entering a range or set for the receiver. With one unique value we get the tracing factor screen.
    This worked before with ranges and sets. As far as we know there are no changes done at the configuration.
    What can trigger this error? Something must be changed, but I have no clue what...
    Can you give me some tips to help me searching?

    Hi Prasada,
    I can change the set I use, so I guess it is not locked ?
    The set consists of 18 single values, from 1 to 18. So I tried with a set with a range 1 to 18, and also without a set and just a range 1 to 18 but that didn't help.
    When I use only 1 value I dont get the error.
    Before we did some tests with the same cycle (same segments and sets) and we didn't had the problem.
    We have the problem now for more than a week.
    Any other suggestions?
    Renaat.
    UPDATE FYI: we had to activate valdiation on the fields used for the allocation
    Strange because we did tests in the sandbox before without these validation on.
    Edited by: Renaat Vanhaverbeke on Nov 6, 2009 10:17 AM

  • Maxl - Error while building dimension

    Hi,
    I am using below syntax in Maxl for building dimension. I am getting error. Could someone help me with this. I am pulling the load rule using SQL
    import database 'Application Name'.'Database Name' dimensions connect as 'User Name' identified by 'password' using rules_file 'Buildfilename' on error write to 'D:\Error.txt';
    Thanks

    Try this
    import database 'Application Name'.'Database Name' dimensions connect as 'User Name' identified by 'password' using SERVER rules_file 'Buildfilename' on error write to 'D:\Error.txt';

  • Maxl Error

    I am trying to load data from RDBMS using maxl script. I am using this script
    import database Rollout.Rollout data
    connect as Suman identified by kolkata@1
    using server rules_file 'Rul_DB.rul'
    on error write to 'C:\Hyperion\AnalyticServices\app\Rollout\Rollout\ErrorLog_RDBMS.txt';
    I am getting this error:
    syntax error near ['@']
    In password i have the '@' symbol. I am getting no other error. Please help me to fix this issue.
    Regards,
    Suman

    I'd try ruling out the password first then. Have you tried putting it in quotes? Another thing you could try is changing the password temporarily if that is possible.

  • MAXL error logging

    Hi Guys,
    I have a script to import a number of dimensions, this was previously done with an Esscmd script but is now in a MAXL script. Is it possible to write to an error log for each dimensionn I dont seem to be able to get the syntax correct;
    import database Appname.DBname dimensions
    connect as 'user' identified by 'password' using server rules_file 'Products' preserve all data on error append to '\\\server\\share\Products.err',
    connect as 'user' identified by 'password' using server rules_file 'Customer' preserve all data on error append to '\\\server\\share\product.err',
    and so on, this will error at the first comma at the end of line 3, if I replace the comma with semi colon the first statement is executed ok but not the second.
    All help appreciated
    Ed

    What happened is that you used the error file after each transaction, you should add the error file after your last transaction or build. Or if you want to have separate error files you have to have separate statements for each dimension build that starts with 'importdatabase Appname.DBname dimensions'.
    here's a sample of a single statement:
    import database sample.basic dimensions
    from server text data_file 'genref' using server rules_file 'genref' suppress verification,
    from server text data_file 'level' using server rules_file 'level' suppress verification,
    from server text data_file 'time' using server rules_file 'time'
    preserve input data on error append to 'C:\Hyperion\EAS\eas\client\dataload.err';

Maybe you are looking for

  • Imports - Free of Cost

    Hi, We want to purchase materials from an Imports Vendor. The Vendor has agreed that he will deliver some materials free of cost, that means we don't want to pay the vendor for that Material, but at the same time we have to pay the Customs Duty & the

  • Convert LiveCycle PDF to work in Preview-Mac OSX

    I have a PDF form created in Adobe LiveCycle Designer ES 9.0 and need it to be converted to open and work using a Mac.  Mac's built in PDF viewer is Preview. When I open this PDF in "Preview", I get the "Please wait-" message. But in Acrobat Pro this

  • Beginner CORBA idl struct said to be abstract class

    How do I instantiate a class declared in my .idl file for use by the methods implementing the interface? I want to return an array of Record objects in my CORBA implentation, and my .idl file has:  struct Record     long recordNumber;     string firs

  • Final Cut Pro - Recently downloaded Quicklooks and Color Finesse Wont show in FCP

    This is really confusing. Quicklooks originally worked, then I got an old copy of motion and installed it and it messed everything up (Quicklooks stopped showing and Motion just kept crashing). I removed Motion, uninstalled Quicklooks and reinstalled

  • Should I denote that a method satisfies an interface?

    When writing a class which has ("satisfies") 1 or more interfaces, should I note somehow (e.g. in an XML comment, or with an attribute) that a particular method was added for one of the interfaces? For example, the IComparable interface requires an i