Reg ESSCMD to Maxl...

Hi All,
We are trying to convert ESSCMD to MAXL and i need to know how can we use "SLEEP" command in ESSCMD
when it comes to MAXL.. I don't see any statement as such which does the same as SLEEP in Maxl...
Any inputs on this?
Thanks,

The problem with using shell to run sleep is that you have to have "sleep.exe" (I am assuming Windows). This requires a download and install of the Windows Server 2003 Resource Kit Tools. See: http://www.microsoft.com/Downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
Even then, the expanded utilities have to be in your path.
However, there is another way to do this -- use ping.exe which is always (well, I've never not seen it) in the path (c:\windows\system32 is always there in the Windows world).
I would love to lay claim to this:
shell 'ping -n 60 localhost > nul' ;
But alas, I cannot. See: http://www.network54.com/Forum/58296/thread/1226433293/Sleep+inside+maxl+block-
It is crude, but effective.
Regards,
Cameron Lackpour

Similar Messages

  • Esscmd to MAXL

    execute calculation 'C:\Essbase\Scripts\junk'.'PHI'.'Dev';<BR><BR>I get an error with the above, the only way I can get it to work is by putting C:\Essbase\Scripts\junk.scs in the app directory and using,<BR><BR>execute calculation 'PHI'.'Dev'.'junk';<BR><BR><BR>I need to be able to place the scripts elsewhere.<BR><BR><BR>Thanks,<BR>Jim

    Jim:<BR><BR>To be callable by MaxL, a calc script must reside in either the:<BR>1. app directory, as in:<BR><b> (...\hyperion\essbase\app\appname)</b>, called by:<BR><b> execute calculation appname.calcname on database dbname</b><BR><BR>2. or in the database directory, as in:<BR><b> (...\hyperion\essbase\app\appname\dbname)</b>, called by:<BR><b> execute calculation appname.dbname.calcname</b><BR><BR>You can't reference a calc script with a literal directory path. I suppose you could shell out and copy the calc script to the appropriate directory (using the using the [MaxL] SHELL command with the [DOS] COPY command), then execute the calc, then delete the script (MaxL: DROP CALCULATION).<BR><BR>Is there some reason the calc scripts can't reside in the database directory?

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

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

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

  • What is the diff. bet ween maxl and esscmd?

    hi guys
    i have the doubt?
    what i sthe difernce between esscmd and maxl ?
    plz tell me .

    ESSCMD is the original command line interface for administration commands you would use with ESSBASE.
    MAXL is the new version of the command line interface or data definition language that is more language driven and is what the new version releases can use to replace or even coexist with ESSCMD.
    best I could answer off the top of my head.
    kind regards

  • Deleting members using Esscmd/MaxL

    Does anybody know how to delete a member using Esscmd or MaxL?

    If only it were that easy! Unfortunately, you are stuck with the dreaded load rule and "remove unspecified" setting to remove members.Hyperion has an unsupported automation tool called ESSCMDQ - it may have delete member functionality (I don't have the the online help available, but you should be able to download it from the utilities section on Essbase.com)Another option would be to build a custom app with the API that allows you to pass a member name in, which could be deleted.Regards,Jade-------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Maxl command for DB stats

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

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

  • MaxL (use Essbase.pm) via Perl CGI??? (remake)

    I am sorry for my Englishcit: "Problem: trying to "use Essbase;" in a Perl CGI script running under Apache generates error "The answer was such:" I ran into similar problems and discovered that ARBORPATH must be defined in your script's environment and that LIBPATH must include $ARBORPATH/bin and $ARBORPATH/dlls. I added these environmnet definitions to a common module that I include everywhere. I make sure is use this common module before attempting to use Essbase. "Q:How IT is made?I have written:$ENV{ARBORPATH} = 'F:/Essbase';use lib 'F:/Essbase';use lib 'F:/Essbase/bin';use lib 'F:/Essbase/dll';$ARBOTPATH = 'F:/Essbase';use Essbase;(I am sorry for my perl)Does not work.Where at me a mistake?(in DNA to not search:)

    Successfully installed Runtime client (including ESSCMD and MaxL) on Win 2k machine and tested Essbase.pm functionality using regular Perl script (/sample/table.pl).Problem: trying to "use Essbase;" in a Perl CGI script running under Apache generates following error:"Can't load 'c:/Perl/site/lib/auto/Essbase/Essbase.dll' for module Essbase: load_file:The specified module could not be found at c:/Perl/lib/Dynaloader.pm line 206."Any one found a way to "use Essbase;" in a Perl CGI script?

  • Create dimension using esscmd

    Hi,
    How could I use esscmd to create new dimension or member. I know that i can use load file but isn't there a way to write it as a esscmd command.
    Thanks

    Sorry. there are no commands in Esscmd or MaxL to directly build a dimension. You have to call a load rule to do it.
    There are other ways that you can do it with. ODI,and the API are two of them

  • Install ONLY ESSCMD

    Is it possible to install only ESSCMD/MaxL on a client machine? Requirement is to give a set of user, designated as owners of the cubes, an ability to execute loading/calcing on their respective models. As it'll require a scripts(ESSCMD or MaxL) we'll have to install ESSCMD or MaxL, but we don't want to install AppMgr or any other utilities. They might have Excel-Addin installed too. Thanks,

    There's no Esscmd only install. However you could write a simple batch script which installs appman and then deletes "essadmin.exe" and the shortcut as well.To delete the shortcut, you could use something like the following:"del c:\documents and settings\all users\start menu\programs\hyperion solutions\hyperion essbase\Essbase Application Manager"or if it's in the user path, you can use the variable "%USERPROFILE%\favorites...".

  • ESSCMD script problem?

    With ESSCMD interactive or the appman I can load a txt file in 90 seconds.Using a KORN shell script to run a ESSCMD script file, same data, takes 40 minutes to load.Environment:AIX 4.3.3.0Essbase 6.1.6.0ESSCMD run on serverData file on serverData file in application/database subdirectory.Both cases starting with an empty .pag file.No rules file or DIM build involved.Any ideas? Thanks.

    If the dimension is deleted (using remove unspecified and rebuilt in the same MaxL or Esscmd satement then data will be retained for member that still exist. As for converting from Esscmd to MaxL the easy way to do it is to look for a file called cmd2mxl.exe on the server. It will convert Esscmd scripts into MaxL and tell you if there are any issues with the conversion.

  • Using ESSCMD Commands

    Hi. Could you help me?
    I'm trying to create a few members in a dimension using BUILDDIM command.
    I open the MDX Editor at Essbase and type the following command.
    BUILDDIM 1 "<rule_name>.rul" 4 "<user>" "<password>" "<error_file>.txt";
    This load rule uses SQL statements to load the data into the outline.
    After running Essbase returns a message saying "Syntax error near ['BUILDDIM']"
    Is there anything missing at the command I'm trying to run?
    Thanks in advanced...

    there is no editor for Esscmd only MaxL. Depending on what version you are on, the Esscmds are still there. Unless you are on version 6, I recommend using MaxL instead of Esscmd. All new functionality is being built in MaxL and it can do everything the Esscmd could and more. If you have old Esscmd scripts, there is a conversion program called cmd2mxl in the Essbase\bin directory which does most of the work for you.

  • Problem with ESSCMD script

    I have been given two Esscmd scripts to convert into MAXL.
    The first ESSCMD script clears all the data and dimensions,reloads all the dimensions and data and fianlly runs Calc all command.
    The second script clears the period dimension and runs the calc all command.
    These two scripts are run for the same database in sequential order.
    My question is
    Does the database loses all the data when a dimension is cleared and built again?
    If yes,the database is having data after the second script is run.
    Please help

    If the dimension is deleted (using remove unspecified and rebuilt in the same MaxL or Esscmd satement then data will be retained for member that still exist. As for converting from Esscmd to MaxL the easy way to do it is to look for a file called cmd2mxl.exe on the server. It will convert Esscmd scripts into MaxL and tell you if there are any issues with the conversion.

  • "Error 1002097 Unable to Load database" while starting an Essbase App.

    Hello Essbase Experts,
    I am getting below error while starting an Essbase Application:
    "Error 1002097 Unable to Load database"
    Below is an extract from the Essbase Application Log:
    [2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Essbase will try again after a short
    delay.
    [2012-04-04T14:14:04.821-19:14] [RPA] [ESM-5] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Please make sure other processes do not
    access Essbase files while Essbase server is running.
    [2012-04-04T14:14:04.821-19:14] [RPA] [MBR-89] [WARNING] [1][] [ecid:1333566842161,0] [tid:2058170128] Unable to open
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm] for database
    [RPA][2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database [RPA]
    [2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    [2012-04-04T14:14:04.835-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    Please sugest pointers to start the application.
    Thanks,
    KK

    *[2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file*
    Solution would be easy ...like if the Essbase Agent is stopped using the services.msc (services panal)on Windows while a process is currently running, or if there has been an abnormal termination of the Essbase Agent, orphaned ESSSVR processes can be left. Shuting down the Essbase server using ESSCMD or MaxL then Check Task Manager confirm the ESSBASE.exe process later by this ESSSVR.exe processes should end if still NO then Do an "End Process" on any ESSSVR.exe process that is still running. Start the Essbase service and start the application.
    ESSSVR.exe is process which keep application Alive (bad thing is if u have many applications running similarlly u have same numbe of ESSSVr .exe will be running in task master ..but u cant find out which one belongs to which application :( )
    Reasons
    looking at your error i can say , First of all you need to know what is Lock in EAS ? and what locks exist
    (right-click on Essbase Servername, EDIT->LOCK and EDIT->LOCKED OBJECTS, and if your database/outline appears in there, unlock it.)
    Check any antivirus- and backup software that may be scanning / running on your Essbase folders as that can lock the files and any ESSSVR process stays when the Essbase Agent is stopped
    More over another chance of getting error is when you have you page and index files in different location and rest otl, rep.csc script in another drive .. usually while taking back up in OTL,csc drive u do get created index file and page file even u have page and index file in diffrent drive so doe to this u get this error unable to load database
    Hope this give u some idea

Maybe you are looking for