Essbase Maxl Issue - In UNIX

Hi Everyone,
We are trying to build dimension using maxl script in unix box.
Facing syntax and unexpected error. Followed the steps as below.
1.In Putty, navigated to bin folder and invoked maxl script using ./startMaxl.sh command
2.logged in using  the command login 'username' 'password' on 'essbaseservername';
3.Executed the import database command to build dimension having sql as source as below
   import database 'xxx'.'xxx' dimensions connect as 'bis_read' identified by 'bis_read' using server rules_file 'DimChn' on error write to '/home/essproj/Maintenance/Automation/Logs/CTO/Build/Channel1.txt'
4.Executed the import database command to build dimension having datafile as source as below
   import database 'xxx'.'xxx' dimensions from data_file '/home/essproj/Maintenance/Automation/Source Files/CTO/Measures.txt' using server rules_file 'DimMeas' on error write to             '/home/essproj/Maintenance/Automation/Logs/CTO/Build/Measures_log.txt'
Throwing the error
ERROR - 1242021 - (1) Syntax error near ['/'].
as well as
ERROR - 1241101 - Unexpected Essbase error 1054036.
5. We even tried to save the .mxl file in the utf-8 formate and tried to execute the .mxl file at that time we are getting the error as "Segment Fault" but we are using the super user credentials to do this activity.
Please help on this

Hi,
Please using '\' instead of '/'. You can use spool in your mxl script to capture the error better.
spool on to 'c:\dimbuild.log';
MAXL Statements & commands;
import database 'xxx'.'xxx' dimensions from data_file '\home\essproj\Maintenance\Automation\Source Files\CTO\Measures.txt' using server rules_file DimMeas on error write to             '\home\essproj\Maintenance\Automation\Logs\CTO\Build\Measures.log.txt';
spool off;
logout;
exit;
Also label's also would do the magic..!! Let us know us how it goes..!!
Thanks
Amith

Similar Messages

  • Essbase performance issue

    Hi all,
    We encounter a Essbase perfromance issue that we don't know the root cause.
    We have configured a server to run Essbase with 8 core CPU and 16GB RAM. We found that the Essbase calculation can use up to 80% CPU and about 8GB RAM only. I also checked the IO rate at the same time but the disk loading is not very heavy. We just suspect that what kind of resource are waiting at Essbase calculation engine? It is not CPU bounded, memory bounded, and IO bounded.
    Do you think it can help if we keep the whole Essbase database (around 30GB) into RAM based disk drive can speed up the IO performance?
    Thanks if you have some ideas for us to investigate.
    Edited by: hyperion planning user on Jun 2, 2009 12:27 AM
    Edited by: hyperion planning user on Jun 2, 2009 12:36 AM

    I'm confused -- is it CPU bound or not?
    You write:
    We found that the Essbase calculation can use up to 80% CPU and about 8GB RAM only.Do you mean 80% of all eight of your CPUs? That sure sounds CPU-bound to me. In fact, I wish (within reason) that most of my Essbase calculations worked that way -- that would men that I have the disck caches tuned to their utmost efficiency.
    This means you're getting data from disk almost as fast as is possible.
    You're not going to be able to get everything into memory for two reasons:
    1) 30 GB of .IND and .PAG/.DAT files isn't going to fit into Essbase's addressable memory space. See: using RAM disk to speed up Essbase calculation and rollup
    2) Even when the database is nice and small and you can stick the whole thing in a cache, uncompressed, Essbase still is "smart" and will keep a portion of it on disk during calcs -- this doesn't make sense in isolation, but empirically, you can monitor disk usage during a supposedly database that is in theory total enclosed in the cache and see it getting hit. This may be related to Essbase's general housekeeping -- I don't know. In any case, this is generally not a real world case, unless you're running your business on my Very Favorite Database In The Whole Wide World -- Sample.Basic.
    Or are you saying that you will define a real (and it would help if you really could allocate real RAM, and not an OS-managed sort-of-RAM-sort-of-DASD situation) RAM drive and point Essbase there. That is sort of risky, isn't it? How will you flush it to real DASD for backup? Exports?
    Regards,
    Cameron Lackpour

  • Issue with Essbase - SQL Interface in UNIX box

    Hi All,
    One of our customer is facing an issue while trying to connect to the Oracle datasource from Essbase version 9.0.1.0.00 in a 64 bit UNIX box. He is using Oracle wired protocol for SQL interface.
    Customer has tried the below and getting the below error:
    1) Ran the nst-sql.sh file.
    2) Edited the odbc.ini file and the .profile file with the required dsn information.
    3) From the console selected the open SQL option and received the following error " There are no datasources defined. Please create one to continue"
    I have attached the odbc.ini file and the .profile file for your reference.
    Any help appreciated.
    Thanks,
    Bharathi Raja
    ODBC.ini file
    ARBORPATH=/hyper/arbor/Hyperion/AnalyticServices
    HYPERION_HOME=/hyper/arbor/Hyperion
    ESSLANG=English_UnitedStates.Latin1@Binary
    SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
    PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
    LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
    ulimit -c unlimited
    ulimit -n 1024
    LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
    LANG=en_US
    ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.ini
    [ODBC Data Sources]
    DB2 Wire Protocol=DataDirect 5.0 DB2 Wire Protocol Driver
    dBase=DataDirect 5.0 dBaseFile(*.dbf)
    FoxPro3=DataDirect 5.0 dBaseFile(*.dbf)
    Informix=DataDirect 5.0 Informix
    Informix Wire Protocol=DataDirect 5.0 Informix Wire Protocol
    Oracle=DataDirect 5.0 Oracle
    Oracle Wire Protocol=DataDirect 5.0 Oracle Wire Protocol
    Progress9=DataDirect 5.0 Progress SQL92
    Progress10=DataDirect 5.0 Progress OpenEdge
    SQLServer Wire Protocol=DataDirect 5.0 SQL Server Wire Protocol
    Sybase Wire Protocol=DataDirect 5.0 Sybase Wire Protocol
    Text=DataDirect 5.0 TextFile(*.*)
    [DB2 Wire Protocol]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdb220.sl
    Description=DataDirect 5.0 DB2 Wire Protocol Driver
    AddStringToCreateTable=
    AlternateID=
    Collection=OS/390 and AS/400 (leave blank for DB2 UDB)
    Database=DB2 UDB (leave blank for OS/390 and AS/400)
    DynamicSections=100
    GrantAuthid=PUBLIC
    GrantExecute=1
    IpAddress=DB2 server host
    IsolationLevel=CURSOR_STABILITY
    Location=OS/390 and AS/400 (leave blank for DB2 UDB)
    LogonID=UID
    Password=PWD
    Package=DB2 package name
    PackageOwner=
    TcpPort=DB2 server port
    WithHold=1
    [dBase]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
    Description=DataDirect 5.0 dBaseFile(*.dbf)
    ApplicationUsingThreads=1
    CacheSize=4
    CreateType=dBASE5
    Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
    DataFileExtension=DBF
    ExtensionCase=UPPER
    FileOpenCache=0
    IntlSort=0
    LockCompatibility=dBASE
    Locking=RECORD
    UseLongNames=0
    UseLongQualifiers=0
    [FoxPro3]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARdbf20.sl
    Description=DataDirect 5.0 dBaseFile(*.dbf)
    ApplicationUsingThreads=1
    CacheSize=4
    CreateType=FoxPro30
    Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
    DataFileExtension=DBF
    ExtensionCase=UPPER
    FileOpenCache=0
    IntlSort=0
    LockCompatibility=Fox
    Locking=RECORD
    UseLongNames=0
    UseLongQualifiers=0
    [Informix]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARinf20.sl
    Description=DataDirect 5.0 Informix
    ApplicationUsingThreads=1
    CancelDetectInterval=0
    CursorBehavior=0
    Database=db
    EnableInsertCursors=0
    GetDBListFromInformix=1
    HostName=Informix host
    LogonID=UID
    Password=PWD
    Protocol=onsoctcp
    ServerName=Informix server
    Service=Informix service name
    TrimBlankFromIndexName=1
    [Informix Wire Protocol]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARifcl20.sl
    Description=DataDirect 5.0 Informix Wire Protocol
    ApplicationUsingThreads=1
    CancelDetectInterval=0
    Database=db
    HostName=Informix host
    LogonID=UIDUID
    Password=PWDPWD
    PortNumber=Informix server port
    ServerName=Informix server
    TrimBlankFromIndexName=1
    [Oracle]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARor820.sl
    Description=DataDirect 5.0 Oracle
    ApplicationUsingThreads=1
    ArraySize=60000
    CatalogIncludesSynonyms=1
    CatalogOptions=0
    DefaultLongDataBuffLen=1024
    DescribeAtPrepare=0
    EnableDescribeParam=0
    EnableNcharSupport=0
    EnableScrollableCursors=1
    EnableStaticCursorsForLongData=0
    EnableTimestampWithTimeZone=0
    LocalTimeZoneOffset=
    LockTimeOut=-1
    LogonID=UID
    OptimizeLongPerformance=0
    Password=PWD
    ProcedureRetResults=0
    ServerName=Oracle host
    UseCurrentSchema=1
    [Oracle Wire Protocol]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARora20.sl
    Description=DataDirect 5.0 Oracle Wire Protocol
    ApplicationUsingThreads=1
    ArraySize=60000
    CachedCursorLimit=32
    CachedDescLimit=0
    CatalogIncludesSynonyms=1
    CatalogOptions=0
    DefaultLongDataBuffLen=1024
    DescribeAtPrepare=0
    EnableDescribeParam=0
    EnableNcharSupport=0
    EnableScrollableCursors=1
    EnableStaticCursorsForLongData=0
    EnableTimestampWithTimeZone=0
    HostName=Oracle server
    LocalTimeZoneOffset=
    LockTimeOut=-1
    LogonID=UID
    Password=PWD
    PortNumber=1521
    ProcedureRetResults=0
    SID=Oracle SID
    UseCurrentSchema=1
    [Progress9]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro920.sl
    Description=DataDirect 5.0 Progress SQL92
    DatabaseName=db
    HostName=Progress9 host
    LogonID=UID
    Password=PWD
    PortNumber=Progress9 server port
    [Progress10]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARpro1920.sl
    Description=DataDirect 5.0 Progress OpenEdge
    DatabaseName=db
    HostName=Progress10 host
    LogonID=UID
    Password=PWD
    PortNumber=Progress10 server port
    [SQLServer Wire Protocol]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARmsss20.sl
    Description=DataDirect 5.0 SQL Server Wire Protocol
    Address=SQLServer host,SQLServer server port
    AnsiNPW=Yes
    Database=db
    LogonID=UID
    Password=PWD
    QuotedId=No
    [Sybase Wire Protocol]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARase20.sl
    Description=DataDirect 5.0 Sybase Wire Protocol
    ApplicationName=
    ApplicationUsingThreads=1
    ArraySize=50
    Charset=
    CursorCacheSize=1
    Database=db
    DefaultLongDataBuffLen=1024
    EnableDescribeParam=0
    EnableQuotedIdentifiers=0
    InitializationString=
    Language=
    LogonID=UID
    NetworkAddress=Sybase host,Sybase server port
    OptimizePrepare=1
    PacketSize=0
    Password=PWD
    RaiseErrorPositionBehavior=0
    SelectMethod=0
    WorkStationID=
    [Text]
    Driver=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/ARtxt20.sl
    Description=DataDirect 5.0 TextFile(*.*)
    AllowUpdateAndDelete=0
    ApplicationUsingThreads=1
    CacheSize=4
    CenturyBoundary=20
    Database=$HYPERION_HOME/common/ODBC/Merant/5.0/demo
    DataFileExtension=TXT
    DecimalSymbol=.
    Delimiter=
    FileOpenCache=0
    FirstLineNames=0
    IntlSort=0
    ScanRows=25
    TableType=Comma
    UndefinedTable=GUESS
    [ODBC]
    IANAAppCodePage=4
    InstallDir=$HYPERION_HOME/common/ODBC/Merant/5.0
    Trace=0
    TraceDll=$HYPERION_HOME/common/ODBC/Merant/5.0/lib/odbctrac.sl
    TraceFile=odbctrace.out
    UseCursorLib=0
    *.Profile file*
    HYPERION_HOME=/hyper/arbor/Hyperion
    ESSLANG=English_UnitedStates.Latin1@Binary
    SHLIB_PATH=.:/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib:/hyper/arbor/Hyperion/AnalyticServices/bin:$SHLIB_PATH
    PATH=$PATH:$ARBORPATH/bin:/usr/lib:$ARBORPATH:$HYPERION_HOME/common/ODBC/Merant/5.0/lib
    LD_LIBRARY_PATH=$HYPERION_HOME/common/ODBC/Merant/5.0/lib
    ulimit -c unlimited
    ulimit -n 1024
    LIBPATH=/hyper/arbor/Hyperion/common/ODBC/Merant/5.0/lib
    LANG=en_US
    ODBCINI=/hyper/arbor/Hyperion/Essbase/bin/.odbc.ini

    The essbase user needs to be restarted to be able to see the new odbc.ini entries.
    After editing the files you mentioned, did you restart the essbase services?
    At the very least, did you exit EAS, then restart EAS? (I don't remember which one of these will do it.) If your entries are correct, then one of these should get the essbase user to 'see' the odbc connection.
    Also, it might help to remove extraneous entries in the .odbc.ini file, kind of difficult to read thru all of that.
    Robert
    Edited by: RobertR3 on Mar 17, 2009 10:19 AM

  • Essbase client MaxL issue

    When trying to execute essmsh.exe from the run dialog box, a black box briefly appears and then goes away again. Does this suggest there is something wrong with our install?
    On the other hand, we have been able to successfully run a maxl script text file that is invoked via a command file?
    The original issue was raised when we tried to run an ODI routine and use the PRE_LOAD_MAXL_SCRIPT option. This failed with an unhelpful error message.
    Your help is appreciated.

    Thanks John...
    Can you tell me why essmsh works from the Run dialog on server A, but not server B? Could it be an install issue? We plan to (re)install the client on server B.
    I figure that our ODI pre and post MaxL options will work properly if ESSMSH behaves. This is possibly an incorrect assumption.
    Cheers

  • Essbase copy issue

    Hi
    We have an issue with Essbase cube copy in EAS (essbase and eas are in version11.1.2.2) .  When we copy a cube we expect the access for the users and groups to be also available in the copied cube ie say groupA is assigned read access to cube1 but if we copy cube1 to cube2 we cannot see that groupA is also assigned read access to cube2 .  This issue did not happpen in System 9 and this is major issue for us since we rely on the process of taking snapshot of the cube monthly basis and losing the secuirty of the cube when copying is not acceptable

    Are you copying it within the server / across server?
    I am not much familiar with LCM but if you are using it may be I guess you can do it from there.
    If LCM cannot hep you, you can achieve it using Maxl as Sh!va said . Take an export of the security, parse it using BATCH (Windows) / SHELL SCRIPT (UNIX) and update the security again (Export will serve as security backup too ).
    We had an application way back in v6.5.7 and we did the same way.
    Amarnath
    http://amarnath-essbase-blog.blogspot.com

  • Essbase users issue

    Hi Guru's,
    we created around 1800 users for the current project. But the issue is if we synchronize all users from Shared services, Essbase might be hangs.
    these belong to native.
    So kindly let me know how to handle this issue?????
    Anyone seen this behavior before or have any suggestions?
    Thanks in Advance.................

    1.so when you have created users and assigned those users with role then you have to refresh security through eas,of course it will take some time for 1800 users after that you will have to connect again its just as that messagge says when you refresh it.
    2.now i will be sharing what i have done,basically i have users list and i made maxl scripts using excel having maxl statements(create user 'john doe';..) and i have executed them and same goes with roles tooo.When we execute this maxl scripts users will be in sysn with shared services.(this has worked for me )
    also go though from page 617
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag.pdf

  • Maxl/esscmds on unix : hiccups

    im kinda doubtful if the environment variables have to be set in the script if the path is already set in the .profile in essbase.should i set the server ,user and password for eg :server =xyzexport server etc i also feel i have a problem with setting the user as changes are not reflecting in the root.also what is the best way to create a maxl or an esscmd script in unix for scheduling.

    This is an excerpt from a script to enable logins after a nightly archive process:############################################################# Backup the old enable log file and start a new log file. #############################################################mv ${LOG_PATH}/${DB_NAME}_enable.log ${LOG_PATH}/${DB_NAME}_enable.log.bak >${LOG_PATH}/${DB_NAME}_enable.logESSCMD << end_esscmdOUTPUT 1 "${LOG_PATH}/${DB_NAME}_enable.log"IFERROR "quit_scr";LOGIN "${SERVER}" "${USER_ID}" "${USER_PWD}";IFERROR "quit_scr";ENABLELOGIN "${APP_NAME}";:quit_screxit;end_esscmd################################################### Log a message if the script fails at any point ###################################################$COMMON_SCRIPT_PATH/chkstat.sh ${LOG_PATH}/${APP_NAME}_enable.logif [ $? != 0 ]then(and so on)##################################################many of the variables are set in the user's profile as part of the connection, others are set in other places of the script. Because it's Unix, the script doesn't have to have any specific extension, as long as it's been marked as an executable. The syntax here shows how the inline code allows the script to be interpreted and fed to the esscmd processor without creating a separate file.As for scheduling, chron works, other things may work better. That's between you and your support department to work out.Good Luck,-Doug

  • Essbase Calculation issues from version 6 to 7

    Hi does any one know are there any calculation issue with essbase BSO cacl engine from version 6 to 7. Cube which calculates fine on 6 verison never ends to finish on version 7, does any one have ideas about number of max generations and levels possible under dense dimension in verison 7

    Not sure if it was a 6.5.1 to 7.1.5 issue, or if it was that 6.5.1 was on Win2K and 7.1.5 is on Solaris 5.9. But, I had one calc script that for total company on Windows and 6.5.1 ran in about 2 1/2 minutes, but same calc on same outline on Solaris and 7.1.5 ran in over 2 hours.
    Hyp support was able to offer some suggestions on Unix settings, and some undocumented script features that got the runtime down to around 10 minutes, but didn't get any farther than that.
    Luckily for me there also was some functions that were not resolving correctly in the script so I had to take the functions out (turned a 100 line script into an 800 line script), and wouldn't you know it that fixed the slow run time as well.
    Message was edited by:
    RobertR

  • 2 Essbase Servers On Same UNIX Server

    Hi.I installed 2 Essbase Servers on the same UNIX Server.Both Essbase Servers work but that's when I want to point to 2nd Essbase Server for Planning and Business Rules that it's more difficult.In fact, in Essbase Administration Services, I managed to add 2nd Essbase Server indicating port it uses but with Planning and Business Rules the "server_name:port" style entry doesn't match. Planning and Business Rules don't understand these entries.I tried in other manner with a NODENAME in ESSBASE.cfg, but no result either.So, is there anyone who can suggest me something or anyone who managed this case?Best regards.Rzedinho,New HDN Member.

    The only way that you can connect to the second server is to use client software that supports providing a port at login. We are doing this, but you have to have the latest versions of reports, planning, etc. If you have these versions of software, then all you have to do to connect is give it a string like: EssbaseServer2:2784

  • CR4E 2.0 font issue on unix/aix

    I have designed my report on windows using courier new font and is working good. I also checked the font properties of the output pdf and is courier new(embedded subset). But when I deploy the same ear file on WAS6.1 on AIX it is using different font and the output pdf properties shows the font as LucidaSansTypewritterRegular(embedded subset) and some of the characters ()) are displayed as ? and also get "Cannot extract the embedded font AAAAA:LucidaSansTypewritterRegular, some characters may not display or print properly" error message when I open it in Adobe reader 9.1.
    How did it pick the LucidaSansTypewritterRegular font on unix if the template specifies Courier New?
    Can I copy the same font file from my windows machine to jre/fonts folder of WAS61 on AIX? Are there any compatibilty or licensing issues?
    Any help is appreciated. Thanks

    Try to copy windows fonts to WAS JVM fonts folder (something like: opt/IBM/WebSphere/AppServer/java/jre/lib/fonts).

  • Com.sun.security.auth.module.NTSystem compilation issues in Unix

    Hi ,
    I m using com.sun.security.auth.module.NTSystem in one my java application to get the current domain. The application and app server are running on windows OS.
    Now i want to switch my OS to Unix, where i m getting compilation issues with com.sun.security.auth.module.NTSystem ,
    1)Do i need to change the module from NTSystem to UnixSystem?
    2) I m developing the java application in Eclipse 3.2 with java 1.4 , when i m trying to import the below statment com.sun.security.auth.module.UnixSystem i couldn't? Could you please let me how i can import the UnixSystem or NTSystem will work?
    Appreciate your help!!!!
    Regards,
    Ravi.

    Unix, where i m getting compilation issues with com.sun.security.auth.module.NTSystemOf course.
    Do i need to change the module from NTSystem to UnixSystem?Of course.

  • Essbase - MaxL import dimensions

    Hi everybody,
    I have to update a dimension on my Essbase ASO application (only metadata). It is an incremental load dimension starting from a txt file containing all the elements, either those that currently are in the dimension. I'm using the MaxL statement Import dimensions by server rules file. Although, i'm wondering what the clause "preserve alla data" will do? What happens if i do not insert this clause when importing dimensions? After the the import i have to save the outline or launch the restructure?
    Thank you in adavance guys,
    Maurizio

    Hi Celvin,
    thnks for your answer. So, If i launch the following Maxl Script without the clause "preserve all data" i could lose all the data stored in the db?
    import database sample.basic dimensions
    from data_file 'test.txt'
    using rules_file 'test.rul'
    on error append to 'test.log'
    I tried on the ASOSample and the data haven't been cleared. There may be some options at applicatoin level or server level that effect how it works? could it be a safety clause in case of an abnormal shutdown during the import process?
    I know it's obviously better to put always the "preserve alla data" clause, but at the moment i'm evaluating the functionality of some existing scripts and i want to understand how they works.
    Thank you very much
    Maurizio

  • Complex Essbase MDX Issue - Need Guidance

    Hi,
    I have a complex Essbase issue in ASO version 11.1.2.2. Currently I have a MDX formula with a Measure member named '10th Percentile'. It calculates the 10th Percentile perfectly. So new requirement is to create a new Measures member and instead of calculating the '10 Percentile' value, it needs to display the Customer Name of the value that is the 10th Percentile from the Customer dimension. So if I do a retrieval and the '10th Percentile' is 3.23, then it needs to display the Customer Name of the 3.23.
    So I altered the formula to do what I think needs to be done and it verifies. However if I retrieve on that new measure in the Excel Add In, I get and error: An error [1200315] Occured in Spreadsheet Extractor. However if I navigate without data I don't get the error, but I also don't get any data, which I obviously need. So my question is, if MDX support reporting on Metadata not just Data, what/how can one report on it? Ideally I need to have this work in the Excel Add In as the client is using a custom vba modified template for their end users.
    Any ideas and help?

    Here's the formula. I bolded the part that is new.....
    IIF ( [Lbs Per Yard].CurrentMember IS [Lbs Per Yard].[No_Lbs/Yd] ,
    IIF( [Count_Price] = Missing, Missing, IIF( [Count_Price] < 2 , Missing,
    { Order (
    Filter ( CROSSJOIN ( Leaves ( [Service].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Segment].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Customer Type].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Zip Code].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Quantities].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Frequencies].CurrentMember)
    , Filter ( CROSSJOIN ( Leaves ( [Yardages].CurrentMember)
    , Filter ( Leaves ( [Contract Year].CurrentMember)
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing ))
    , [$/Yd] <> Missing )
    , [$/Yd] /*this is the measure we're using for sort */
    , BASC /* sort in $/Yd in ascending order */
    ) AS OrderedSetOfItems} /* here we define an alias for the set in order to be able to use it later */
    .Item ( Round ( Count ( OrderedSetOfItems) *
    10 / 100 /*where we specify which percentile is being calculated */
    + 0.5 , 0 ) -1 ) *.Item (3-1).[MEMBER_NAME]*
    /* this takes Nth item from the ordered set (0-based index, hence -1) */
    /* .Name takes its name */
    , Missing )

  • Essbase RKM Issue

    All,
    I have a planning cube PlanAPP and I have done a reverse engineer and created a interface to build dimensions in the planning cube PlannApp. Now I want to load data in the cube using rule file and then run a maxl? So, I am trying to create another interface using the same cube PlanApp but from essbase side and I am trying to reverse engineer on one of the database in PlannApp cube for instance PlanAPP.A in Essbase technology. However, I am getting the following error:
    Please let me know if I am doing something wrong?
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 49, in ?
    com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.essbase.EssbaseConnectionFactory{app.planning.factory.class=com.hyperion.odi.planning.PlanningConnectionFactory, app.essbase.factory.class=com.hyperion.odi.essbase.EssbaseConnectionFactory, app.hfm.factory.class=com.hyperion.odi.hfm.HFMConnectionFactory}
         at com.hyperion.odi.connection.HypAppConnectionFactory.getFactory(Unknown Source)
         at com.hyperion.odi.connection.HypAppConnectionFactory.getConnection(Unknown Source)
         at com.hyperion.odi.connection.HypAppConnectionFactory.getAppConnection(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyObject.__call__(PyObject.java)

    Hi John
    I have changed to point to essbase server, however, I am getting the same error, I have posted the description below:
    from java.util import HashMap
    from java.lang import Boolean
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.common import ODIModelImporter
    from com.hyperion.odi.connection import HypAppConnectionFactory
    # source planning connection properties
    serverName = "esbdevedc01"
    userName = "essadmin"
    password = "<@=snpRef.getInfo("SRC_PASS") @>"
    application = "PlanApp"
    database = "Wrkforce"
    portStr = "1423"
    srvportParts = serverName.split(':',2)
    srvStr = srvportParts[0]
    if(len(srvportParts) > 1):
    portStr = srvportParts[1]
    # Put the connection properites and initialize the planning loader
    srcProps = HashMap()
    srcProps.put(ODIConstants.SERVER,srvStr)
    srcProps.put(ODIConstants.PORT,portStr)
    srcProps.put(ODIConstants.USER,userName)
    srcProps.put(ODIConstants.PASSWORD,password)
    srcProps.put(ODIConstants.APPLICATION_NAME,application)
    srcProps.put(ODIConstants.DATABASE_NAME,database)
    imod = 7002
    multipleDataCols = 0
    dataColDimension = r"Account"
    dataColMembers = r"Account"
    extractAttrMembers = 0
    rkmOptions = HashMap()
    rkmOptions.put(ODIConstants.MULTIPLE_DATA_COLUMNS, Boolean(multipleDataCols))
    rkmOptions.put(ODIConstants.DATA_COLUMN_DIMENSION, dataColDimension)
    rkmOptions.put(ODIConstants.DATA_COLUMN_MEMBERS, dataColMembers)
    rkmOptions.put(ODIConstants.EXTRACT_ATTRIBUTE_MEMBERS, Boolean(extractAttrMembers))
    #get planning connection
    hApp = HypAppConnectionFactory.getAppConnection(HypAppConnectionFactory.APP_ESSBASE, srcProps)
    #get connection to repository
    repCon = odiRef.getJDBCConnection("DEST")
    # START THE REVERSE
    odiModelImporter = ODIModelImporter(imod, hApp, repCon, rkmOptions)
    odiModelImporter.importModels()
    Thank you

  • Essbase Deploy issue

    When I run the Diagnostics util it returns all green,
    I get this error trying to deploy an Essbase app.
    WarningA 'Internal Server Error' error occurred communicating with the server.URI: http://devone.serverone.com:19000/awb/integration.verifyApplication.do
    Status: 500 - Internal Server Error
    Content: text/html; charset=UTF-8
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Error 500--Internal Server Error</TITLE>
    </HEAD>
    <BODY bgcolor="white">
    <FONT FACE=Helvetica><BR CLEAR=all>
    <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
    <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server Error</H2>
    </FONT></TD></TR>
    </TABLE>
    <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
    </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server Error</H4>
    </FONT><P><FONT FACE="Courier New">The server encountered an unexpected condition which prevented it from fulfilling the request.</FONT></P>
    </FONT></TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    any suggestions?
    Thanks,
    P

    Which version of EPM you are using?
    If it is V11.1.1.3, I had similar kind of issue with FDM module. I was getting Server 500 error while trying to access FDM application URL and got it resolved with following steps. You can try same solution with Essbase.
    The issue was - EPM System Configurator copied the wrong WebLogic IIS plugin on the Windows 64-bit operating system.
    To work around this issue:
    1 Stop IIS from the following place:
    l IIS Admin Service*
    2 Copy iisforward.dll from: EPM_ORACLE_HOME/…/wlserver_10.3/server/plugin/ win/x64/iisforward.dll*
    to: EPM_ORACLE_HOME/DOMAIN_NAME/VirtualHosts/iisforward.dll*
    3 Copy iisproxy.dll from: EPM_ORACLE_HOME/…/wlserver_10.3/server/plugin/ win/x64/iisproxy.dll*
    to all folders under: EPM_ORACLE_HOME/DOMAIN_NAME/VirtualHosts*
    Hope it helps :-)
    Tej
    Edited by: Tej B on Jun 7, 2013 3:33 AM

Maybe you are looking for

  • Automatic creation of InfoObjects

    Hi, In order to develop a test scenario, i have a need to create around 3000 InfoObjects following our naming conventions. So is there a way to do this automatically? for example like batch job? what is the normal procedure for the QA guys? waiting f

  • Why no support for AI assets in Edge?

    I mean why PS assets? Many of us left FW behind and migrated to AI because AI is vector based, supports SVG import, and CSS export, but now it looks like all the new stuff like Edge seem to be focusing on integration with PS? What the?

  • Client Hardware inventory showing multiple errors

    We have some client which are not sending the operating system Build No. while looking in the inventor logs it show multiple errors.Complete inventory log attached below. Can anybody help to understand the issue. Inventory: Delta report without a pr

  • Need a suitable app for Microsoft word, excel

    Need a suitable app for Microsoft word. Can you guys please help me out with a good app to use for access word, power point and excel? Greatly appreciate it.

  • 9iLite with XSU

    I am trying to use the XSU with 9iLite. The xsu states that it will work with any of the jdbc drivers BUT when I try to create the OracleXMLQuery I get a Class not found error on : java.lang.NoClassDefFoundError: oracle.sql.Datum void oracle.xml.sql.