Esscmd

Hi,
is it possible to define the login information for the esscmd inside a bat file?
running the bat file (with esscmd) using a text file, works from a cmd or windows explorer but not from the FDM web client, so i am thinking it has to come from the txt file.
any suggestion?
thanks

CL,
i am not an essbase person. Although i heard about MaxL i have no idea what those things are. See, i am a HFM, FDM person :-)
so why esscmd? simply because my essbase colleague gave me that solution to extract data from essbase to a sql table.
here the example he gave me using a calc script based on a demo database
//ESS_LOCALE English_UnitedStates.Latin1@Binary
FIX(FY12, Budget, "No Versions", "HSP_InputCurrency", @RELATIVE("E01",0), @RELATIVE("Credit Card Revenue",0), @RELATIVE("YearTotal",0))
     Local(
          IF("No Versions" <> 0 AND "No Versions" <> #Missing)
          @JExportTo("dsn","EssExtract","","dbo.AllDataHP",@LIST(@NAME(@CURRMBR("Scenarios"))
,@NAME(@CURRMBR("Years")),@NAME(@CURRMBR("Time Periods")),@NAME(@CURRMBR("Entities")),@NAME(@CURRMBR("Accounts")))
,@LIST("No Versions"));
          ENDIF
now i need to get this (or whatever is better) to be working from a bat (or similar ) file, so that i can trigger it from FDM
so if you have an example, a website or a doc i can use to create an example, that would be fab.

Similar Messages

  • Error in adding a group in ESSCMD

    <p>hi i am having this error message when i tried to add thisgroup</p><p>the ESSCMD was</p><p><span style=" color: #0000ff;"><b>IMPORT_GROUP,Australia_NZ,<br><MEMBERS><br>User name1,2,2<br>User name2</b> <b>,2,1<br>User name3</b> <b>,2,1<br>User name4</b> <b>,2,1<br>User name5</b> <b>,2,2<br>User name6</b> <b>,2,1</b></span><b><br></b></p><p> </p><p><span style=" color: #ff0000;"><b>error message</b></span></p><p><img height="285" src="/ailadtap56636.jpg" width="576"></p><p>please suggest me a solution.</p><p>thanks for your time</p>

    Hi Raja!
    First and foremost, I would like to thank you for your answer.
    I have checked it and there are no restrictions involved with the item nor with the BP.
    I can't exactly determine the cause of this error.
    I believe you do have other suggestions, don't hesitate to post it here.
    Thanks!
    Fringe

  • Essmsh and esscmd error in 11.1.2.2

    After epm11.1.2.2 installation and configuration done, my eas, shared service and workspace are working fine. I am able to retrive my essbase outline from excel addin as well. However, I get error when I am trying run essmsh in command prompt to invoke my MaxL script.
    D:\oracle\Middleware\EPMSystem11R1\common\EssbaseRTC\11.1.2.0\bin\essmsh.exe
    Error: Error initializing localization module
    When I run esscmd in command prompt, it get me this error: Failed getting locale. Please set proper ESSLANG environment.
    but when I checked in system variables, ESSLANG is set as English_UnitedStates.Latin1@Binary which is correct.
    However, when I run startEsscmd.bat in D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin, it is able to connect to essbase.
    I have checked setEssbaseEnv.bat in D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin as well but I didn't see ARBORPATH and ESSBASEPATH in system variables as per listed below in setEssbaseEnv.bat
    @rem This script is used to set Essbase env.
    @echo off
    pushd "D:\Oracle\Middleware\user_projects\epmsystem1\bin"
    call setEnv.bat
    popd
    set ARBORPATH=D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1
    set ESSBASEPATH=%EPM_ORACLE_HOME%\products\Essbase\EssbaseServer
    set DOMAIN_HOME=D:\Oracle\Middleware\user_projects\domains\EPMSystem
    set ESS_CSS_JVM_OPTION3=-Doracle.security.jps.config=%DOMAIN_HOME%/config/fmwconfig/jps-config.xml
    set ESS_CSS_JVM_OPTION4=-DEPM_ORACLE_HOME=%EPM_ORACLE_HOME%
    set ESS_CSS_JVM_OPTION5=-DEPM_ORACLE_INSTANCE=%EPM_ORACLE_INSTANCE%
    set ESS_CSS_JVM_OPTION6=-Doracle.dms.context=OFF
    set ESS_CSS_JVM_OPTION7=-Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration
    set ESS_JVM_OPTION1=-Xmx64M
    set ESSLANG=English_UnitedStates.Latin1@Binary
    set ORA_NLS10=%EPM_ORACLE_HOME%\nls\data
    set HYPERION_LOGHOME=%EPM_ORACLE_INSTANCE%\diagnostics\logs\essbase
    set PATH=%EPM_ORACLE_HOME%\bin;%PATH%;
    set ODBCINST=D:\Oracle\Middleware\EPMSystem11R1/common/ODBC/Merant/6.1/odbcinst.ini
    Any idea of what I can do to make my MaxL script works?
    Thank you very much.

    I am not sure whether startMaxL.bat still can be used in this situation.^^^Why would you think that essmsh.exe versus startmaxl.cmd would behave substantially (or even at all) differently? It isn't supposed to. StartMaxL.cmd has a bunch of pathing information -- that's what it's there for so you don't have to modify the path as per many of the above comments. Someone (so, like everyone) more infrastructurally (I just invented that word) proficient than I can likely explain why it has to be so. What I do know is that I use startmaxl.cmd in place of essmsh.exe and it seems to work. I've done this running MaxL code out of ODI 11.1.1.5 and it works like a champ, just like essmsh.exe did in ODI 10.1.3.6.
    Do you know that you cannot use startmaxl.cmd from within a VB Script, uh, script?
    Regards,
    Cameron Lackpour

  • 9.3.1 esscmd esslang error

    Hello,
    We have been running a report script on a PC. It worked great until a new user was given the PC. Then we started getting the following output in the esscmd file:
    Essbase Command Mode Interface - Release 9.3.1 (ESB9.3.1.3.1B002)
    Copyright (c) 1991, 2007, Oracle and/or its affiliates. All rights reserved.
    U.S. Patent Number 5,359,724
    U.S. Patent Number 6,317,750
    ESSLANG environment variable not set
    Failed getting locale. Please set proper ESSLANG environment.
    The ESSLANG is set correctly to English_UnitedStates.Latin1@Binary, and all other essbase related environment variables appear correct.
    So first I thought, the previous user had local admin, and the new user does not, so maybe she needs local admin. But that did not resolve the problem.
    We have traced the problem to the esscmd, which gives us the error when run at the command line. So I re-installed the Administration Services. We still get the error.
    Can anyone advise us on why esscmd cannot read the esslang variable?

    Check you environmental variables related to hyperion
    Go to control panel->system->system properties->advance->environmental variables. or right clik on my computer >advanced>->environmental variables
    You should have something like this C:\Hyperion............... in your classpath variable.
    Also do check your Essbase installation logs

  • How to use essbase functions in Esscmd/MaxL

    Hello,<BR>I would like to know, how to call an essbase function in ESSCMD or MAXL. I am trying to read a txt file and try to check whether the data/member in the txt file is a member in cube or not.Suppose if the txt file has lot of locations, then if i want to check whether the locations are the member in cube or not, what i can do in esscmd or maxl.ISMBR functions and other functions can be used in calcualtions.Can we use them in esscmd or maxl? If not what will be the alternative?<BR>Please help me on this.<BR>Regards<BR>R.Prasanna

    Essbase functions can only be used in calc scripts.<BR><BR>The only way I can think of, to check if a member is part of a cube is through a data load rule.<BR><BR>Esscmd and MaxL only automate processes.

  • Converting EssCmd to mxl - INCBUILDDIM

    Hi,
    We've started to look into converting our esscmd process to mxl using cmd2mxl. The first issue we've run into is that the IncBuildDim command lines failed to be converted. Below is a copy of one of our dim update processes in esscmd:
    Login "localhost" "admin" "password" ;
    Select "0db1" "db1";
    BeginIncBuildDim;
    IncBuildDim 2 "cst1" 3 "E:\1data\cst1.txt" 4 "E:\essbase\logs\0db1\cst1.err" 2 N;
    IncBuildDim 2 "cst2" 3 "E:\1data\cst2.txt" 4 "E:\essbase\logs\0db1\cst2.err" 2 N;
    IncBuildDim 2 "cstar3" 3 "E:\1data\cstar3.txt" 4 "E:\essbase\logs\0db1\cstar3.err" 2 N;
    IncBuildDim 2 "parts" 3 "E:\1data\parts.txt" 4 "E:\essbase\logs\0db1\parts.err" 2 N;
    IncBuildDim 2 "blcrdpt" 3 "E:\1data\eblcrdpt.txt" 4 "E:\essbase\logs\0db1\blcrdpt.err" 2 Y;
    EndIncBuildDim 1;
    Exit ;
    After running the conversion command, the log file showed that it could not parse the IncBuildDim statement lines.
    We've checked with tech support and the feedback is that there is no corresponding mxl command for IncBuildDim. Our questions are:
    1) Is the statement from tech support true?
    2) If that's the case, how to modify the above process in esscmd so that it'll get converted to mxl?
    Thanks for all the help.

    I'm not sure why your incremental dim builds are not converting,. I've not had a problem with it, but if you want to create it manually here are some samples from tech reference how to do it
    For Data File Sources:
    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';
    For SQL Sources:
    import database sample.basic dimensions
    connect as 'usrname1' identified by 'password1' using server rules_file 'genref',
    connect as 'usrname2' identified by 'password2' using server rules_file 'level',
    connect as 'usrname3' identified by 'password3' using server rules_file 'time'
    on error append to 'C:\Hyperion\EAS\eas\client\dataload.err';
    For Data and SQL Sources:
    import database sample.basic dimensions
    from server text data_file 'genref' using server rules_file 'genref',
    from server text data_file 'level' using server rules_file 'level',
    connect as 'usrname1' identified by 'password1' using server rules_file 'genref',
    connect as 'usrname2' identified by 'password2' using server rules_file 'genref'
    on error append to 'C:\Hyperion\EAS\eas\client\dataload.err';

  • Update Essbase Cfg setting using MAXL or ESSCMD

    Hi All,
    I want to change the essbase.cfg settings using MAXL or Esscmd. Is this possible? I could figure out changing Substitution Variables but am looking forward to change settings like CALCCACHE, etc...
    If yes, please let me know any insights on the same.
    Thanks,
    AJ.

    There is no pre defined feature that allows you to do this, but if you want to override the values in .cfg file, depending on what those values are, you can just set them in your calc script, ie: CalcCache, etc. It is best to do this manually anyway, as once you finished, you will need to recycle the Essbase service for them to take effect.

  • Load data filtering on a dimension's member - ESSCMD MaxL

    Hi.
    I would like to load data filtering records on a dimension's member. Referring as example to Sample's database outline, I would like to load only records with product 100-10.
    I know that I can use Select command from Record 's rule menu in Administration Console; however, I would like to use ESSCMD or Maxl to do the same.
    Is it possible? Any issue?
    Thanks a lot in advance.

    No it's not possible. The selection/rejection criteria are in the load rules and you can't pass parameters to them.
    I think in 9.3.1 you could put a substitution variable in a load rule but have not tried it yet. If so, you could add that to MaxL to update the variable then use the load rule to load the data. You will have to try it as I have not done so yet.

  • To View Calc Scripts and Report scripts via MaxL or Esscmd

    Hi all,
    Can somebody tell how to read any calc script or report script in any database with the help of MaxL or Esscmd?
    For example if there is any .csc or .rep file, I want to read the context of the file i.e. the script that is written in the file. Is it possible via MaxL or Esscmd?
    Does Hyperion supports this functionality?
    Regards,
    James

    You know that calc and report scripts are text files, right?
    They are typically stored in the database directory, although that is not a requirement; they can be stored in other client-accessible directories and run from there.
    I haven't done it in ages, but is also possible to pass calc and report scripts to Essbase via the API. I can't remember if the API will let you enumerate calc scripts from the database directory. I sort of strongly think yes. Someone who is more knowledgeable will either correct or refute that statement pretty soon. :)
    If you want to list the objects (calcs or reports): http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    A few things that you can do with MaxL re calc scripts:
    1) execute calculations, including a string that you pass through MaxL: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/excalc.htm
    2) delete calculations: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/drpcalc.htm
    3) list the calcs: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispclc.htm
    4) create the calc: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/crecalc.htm
    Report scripts are sort of a poor relation in MaxL (and were in Esscmd as well). You can basically only run a report as kind of export: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/exprt.htm
    So, I think it's mostly there, especially the display object command. BTW, if MaxL can list it, the API can too -- how else does MaxL work?
    Regards,
    Cameron Lackpour
    Edited by: CL on Dec 1, 2008 11:53 PM
    Didn't post the right URLs. Now fixed. CL

  • Maxl/esscmd to get list of applications/databases that user has access to

    Is there any maxl/esscmd to get the list of applications/databases that a user has access to?
    I know that LISTGROUPUSERS 'groupName' -- this list all users of a group.
    Can anyone help please?

    MaxL
    display privilege user SomeUser;

  • Loading New Substitution Variables with Esscmd Script

    Hi, I posted a topic awhile ago and haven't gotten any responses to help. I was wondering if tehre is a script to load NEW substitution variables into a database using an ESSCMD script. The UPdatevariable doesn't work if you don't already have variables in teh database loaded. I need to load them in. THANKS

    while I have not had luck with ranges in report scripts, others have. You could have a substitution variable the is "Jun" "Jul " "Aug" or whatever you want the members to be. and it will replace jusr fine

  • 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/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

  • Maxl / Esscmd

    I noticed that there is no Maxl equivalent to IFERROR in Esscmd. Is there a way to stop a Maxl script if it encounters an error with a data load such as an unknown member?

    I don't believe it's on the Essbase side, as it uses a fairly standard API to allow string input to such things, and it's limitation is well beyond 512 chars even for a direct formula input.<BR><BR>I instead suspect that a carriage return/line feed is being inserted by the ODBC driver as part of it's output formatting, and this is causing the API to consider the input record "completed." I could be wrong, of course, but if you examine the Memo field closely, you may find the formatting to have migrated to the Access database, and even if not, you are still using ODBC to access it on the output side, so we're back to the same issue.<BR><BR>Perhaps it really is an issue related to the ODBC drivers in Essbase, but it's not unique to dim build, to formulas, or Essbase for that matter. Allowing a single field to <i>output</i> more than 512 chars in a single field is where I believe you will find the real issue.<BR><BR>Again, we need an ODBC expert to weigh in on this. <img src="i/expressions/face-icon-small-smile.gif" border="0"><BR>

  • MAXL & EssCmd with Linux

    Does anybody know if you can run Esscmd or Maxl scripts from a Linux server or workstation?

    <p>Yes u can</p>

  • Esscmd failing to init

    Hi all:
    I have an user who gets this message when trying to load Esscmd from command lines:
    "Error: unable to init client"
    All others users have essmcd with same version working OK. The version is 5.0.2. He had version 6.5.4.7 which was uninstalled because it didnt work either, under the error "Failed in GCInit(). return code [10]".
    This same user has on the same machine Application Manager working ok.
    Which requirements does esscmd to be able to load? Any specific port opened? any registered dll wichs registration might failed?
    Thanks in advance!
    Jorge

    User logged in as different user, and esscmd worked ok. So it was either a persmissions issue or essbase not properly installed for all users.

Maybe you are looking for

  • How can I transfer my iTunes account

    I'd like to transfer my entire Itunes account from my pc to my mac, including the hundreds of songs I got off my cds. Is this possible, and how? Thanks.

  • ISE and Wireless compatibiity

    we are in the process of preparing to upgrade our Wireless Controllers from 7.2.110 to 7.6.130. When I check the ISE compatibility matrix, it does not specifically list 7.6 WLC code as supported on ISE 1.1.4 or ISE 1.2. I assume it is, given 7.5 is l

  • No robohelp html x5.0.2 cli

    I just finished installing this on our build machine only to discover that there is, apparently, no command line interface that I can use in my build scripts to automatically convert robohelp input files to html files. I've searched and searched and

  • How to impersonate in client Object model?

    Hii, I am using client Object Model Programming in WCF service which is hosted on IIS. I have created separate APP pool in IIS which has windows authentication enabled. This App pool account will be dealing with the sharepoint server. Now I am stuck

  • Can't open page on safari

    This page works GREAT on OPERA 8, but I can't see it on SAFARI 2... C'mon Apple developers, where is the Safari update?? Will we wait until "Leopard" ??? http://www.kylie.com/