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

Similar Messages

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

  • RMAN script error in UNIX

    I have db10.2.0.3 on SUN Solaris 10.
    I have a rman script called backup_aps2
    This is the content
    #!/usr/bin/csh -fvx
    rman target / <<EOF
    configure controlfile autobackup on;
    run
    recover copy of database with tag 'incr_update';
    backup incremental level 1 for recover of copy with tag 'incr_update'
    database;
    EOFI got this error when I ran it:
    test% ./backup_aps2
    rman target / << EOF
    /tmp/shXXXXXX: Permission deniedPlease help!
    Thanks a lot!

    Not an Oracle problem.
    A 'here-document' is automatically turned in a temporary file.
    The default directory for temporary files is /tmp.
    As per the error message, you apparently didn't read, you have no permission to create files in this directory.
    You can change the location of your temporary files for your session by setting the TMP and TMPDIR variables to an appropiate value.
    Sybrand Bakker
    Senior Oracle DBA

  • 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

  • Error 1030001 in MAXL Script "BuildDimFile"

    I have a MAXL script that successfully builds two of my dimensions using the SQL interface from Oracle. What's strange is, even though the script works, mid-way through MAXL log file, the following error appears: 9 - Essbase error encountered: [BuildDimFile:'test'] [1030001]. Then at the end of the file, it states: 51 - MaxL execution failed. The line in the script:import database '_test'.'_TESTKKU' dimensions connect as 'test' identified by 'test' using server rules_file 'D_Region' on error write to 'D_Region.err';Anyone have any idea why MAXL is reporting failure, when the script is actually working?

    I've used the error handling in MAXL and have found that it gets bettter with every release. It still doesn't trap all errors, but it does catch most fatal errors.<BR><BR>You will want to test it in the particular script that you are using to ensure it does the job you need. When MAXL first came out, the error trapping was much less effective than with ESSCMD. Now we're working with 7.1.3 and find that it catches the things we really need to catch.<BR>

  • Maxl Script will not write to error file for data laod.

    Sorry Glenn here is the new thread. I re ran without the semi colon after data 3 and the same error came up without anything being written to the error file.
    I purposely removed a member from the orginal outline that is included in the data loaded but yet the error file is not written to. I tried doing the load manually but executing it in the background, error file is to be created on my local HD but it does not write it there. Checked the output and it is written to a directory located on the server. Although i think this is normal.
    Could it be that it will not write to a local drive? I am going to try specifying a spot on the server to see if it runs there.
    thanks
    Original post below.
    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

    This works for me in a MaxL script run through essmsh.exe:
    import database appname.dbname data from local text data_file "d:\\datafilename.txt" using server rules_file "rulename"
         on error write to "d:\\errorfilename.err" ;Sometimes EAS (I think you are running it through that) does weird things to MaxL. I eschew MaxL in EAS as much as possible (like 100% of the time).
    NB -- the datafilename and errorfilename and their drive letters are local to wherever you're running this process through the MaxL shell. I don't know how that works when you're running EAS -- are drives local to your session, local to the EAS server? Dunno. Leave EAS behind, buy TextPad (no I am not the author of that fine product) and download the MaxL syntax library, and be happy. :)
    Regards,
    Cameron Lackpour
    Edited by: CL on Oct 7, 2010 7:12 AM
    Put the MaxL into a code block to get it to display correctly.

  • UNIX Shell Script - Maxl - executing 4 Maxl script at the same time

    Hi,
    I wrote a UNIX shell script that basically call 4 maxl script to execute at once. But it seem to executing 2 maxl and then it goes to the last script. So, script 4a,4b,4c, & 4d should execute all at the same time. But for some reason at random only two script is being executed. And then it would go to script 5. Anybody have any answer to why it's doing this? Or is it something i'm doing it is incorrect help please?
    I'm running essbase 11.1.2
    Here is my script:
    #!/bin/sh
    # Maxl script to run
    export MAXL_SCRIPT_1=/hyperion/..../script1.maxl
    export MAXL_SCRIPT_2=/hyperion/..../script2.maxl
    export MAXL_SCRIPT_3=/hyperion/..../script3.maxl
    export MAXL_SCRIPT_4a=/hyperion/..../script4a.maxl
    export MAXL_SCRIPT_4b=/hyperion/..../script4b.maxl
    export MAXL_SCRIPT_4c=/hyperion/..../script4c.maxl
    export MAXL_SCRIPT_4d=/hyperion/..../script4d.maxl
    export MAXL_SCRIPT_5=/hyperion/..../script5.maxl
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_1 "
    wait
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_2 "
    wait
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_3 "
    wait
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4a " &
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4b " &
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4c " &
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4d " &
    wait
    /usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_5 "
    echo Done.
    Thanks,
    Mark

    Thanks!
    I just noticed that the problem was due to something *within my application*.
    I explain:
    i built an application and I want it to be activated by my script.
    I have another script running, but this is not a problem as I discovered later...
    The problem is indeed that my script activates my application, but even when my application is opened, so it succeded, it stays hanged.
    I found that the same thing does not happen with regulare applications, such as Safari or iTunes, so i narrowed down the probglem to my application...
    Is there something i should do to it?
    I checked the "scriptable" checkbox inside my application plist, but the result is still the same...

  • Maxl script in unix

    Hi Experts,
    how to run the maxl script in linux platform in silent mode.I am invoking the maxl script through shell script. If I run the script linux screen shows all the dimension load status for all dimension.
    Thanks in advance.

    That's because STDOUT (which you have redirected to dev/null with ">") and STDERR are separate streams. The error / warning messages are on STDERR.
    Try redirecting with..>/dev/null 2>&1I'm not a shell scripting expert by any means; suggest Googling 'redirect STDOUT STDERR' to understand what's actually going on.
    EDIT: Since the OP has marked this post 'Correct' (Robert really had the complete correct answer first!) I have corrected the syntax to avoid confusion for anyone who gets here in future via search.
    Edited by: TimG on Oct 17, 2012 5:55 AM

  • Looping in Maxl Script - To load multiple files

    Hi,
    I am using Essbase 11.1.2 on UNIX.
    I have maxl script which will load 20 to 30 extraction file. Number is inconsistent. Extraction files will grow each month. Extraction files are with same name with the suffix _1,_2...(2 Gb thing). My previous script was hard coded to load file by file to load up to 50 files. I am trying to remove these hard coded lines, and try to loop the “load” statement. I have tried several ways using while loop in shell to call maxl /msh , but no luck. Any ideas?
    Thanks

    A very similar question was asked recently (but for Windows): Re: Maxl to import datafolders
    What have you tried? Maybe someone here can show you what's wrong with your script.
    The approach I usually take with this type of problem is to write a script that dynamically builds one single MaxL script with the appropriate number of files, rather than calling MaxL multiple times.
    I am generally too ashamed to share my Unix scripts, but at it's most basic, non-error-trapped, probably-inadvisable-and-full-of-holes-for-all-kinds-of-reasons, you could include something like this to build your load script:
    ls filename*.txt | awk {'print "import database etc... "$1" ...on error etc;"'} > scriptname.mshSince you can nest MaxL scripts, you can then reference scriptname.msh from a static 'master' script which handles login / spool on / spool off / logout as appropriate. See http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_commands_nesting.html or Cameron's 2009 K'scope presentation: http://odtug.com/apex/f?p=500:575:526121996615242::NO::P575_CONTENT_ID:4605

  • Maxl script STATUS

    Hi guys..
    Is there a way to check the status of the maxl script executed.
    The scenario I am talking about is like this:
    A maxl script is being called from a unix script. Is there a way to check if the status of the maxl file executed is Success or Failure.
    I am using startmaxl.sh to execute the maxl file. So if there is an error the startmaxl.sh should return 1/Failure. right?
    Correct me if I am wrong.

    It's worth having a read of Cameron's post of exit codes and error handling in maxl - http://camerons-blog-for-essbase-hackers.blogspot.com/2011/06/no-exit-but-not-in-maxl_9756.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

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

  • Essbase Maxcell script error

    Hi,
    I am trying to run a batch script to extract the data using report script.
    my report script is working fine.
    with the mxl script i am getting the following error.
    All variables are set and report script is working. However I am not able to run successfully my batch script.
    essSvr=hypdev-1, essUser=chyp-dev, essPswd=dddduuaa, essDBDir=\\brm-hypde
    v-1\C$\Hyperion\AnalyticServices\app\appa1\appa1\, essDataPath=\\hypdev-
    4\c$\Hyperion\Automations\DataFile\, essMxl=C:/Hyperion/Automations/Scripts/tbc.Mxl
    Press any key to continue . . .
    Press any key to continue . . .
    InvChng to MCDB sunset Oracle data Extract Started! Mon 10/11/2010 11:52:38.57
    C:\Hyperion\Automations\Scripts>essmsh C:\Hyperion\Automations\Scripts\tbc.
    mxl
    Essbase MaxL Shell - Release 9.3.1 (ESB9.3.1.0.0B181)
    Copyright (c) 2000, 2007, Oracle and/or its affiliates.
    All rights reserved.
    ÿÿÿÿ> _
    2> ÿÿÿÿ/ÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿÿÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ/ÿ
    3> ÿÿÿÿ/ÿ*ÿÿÿÿ ÿÿÿÿPÿÿÿÿrÿÿÿÿoÿÿÿÿcÿÿÿÿeÿÿÿÿdÿÿÿÿuÿÿÿÿrÿÿÿÿeÿÿÿÿ ÿÿÿÿtÿÿÿÿoÿÿ
    ÿÿ ÿÿÿÿEÿÿÿÿxÿÿÿÿtÿÿÿÿrÿÿÿÿaÿÿÿÿcÿÿÿÿtÿÿÿÿ ÿÿÿÿtÿÿÿÿhÿÿÿÿeÿÿÿÿ ÿÿÿÿDÿÿÿÿaÿÿÿÿtÿÿ
    ÿÿaÿÿÿÿ ÿÿÿÿfÿÿÿÿrÿÿÿÿoÿÿÿÿmÿÿÿÿ ÿÿÿÿIÿÿÿÿnÿÿÿÿvÿÿÿÿCÿÿÿÿhÿÿÿÿnÿÿÿÿgÿÿÿÿ.ÿÿÿÿIÿÿ
    ÿÿÿÿÿÿÿvÿÿÿÿCÿÿÿÿhÿÿÿÿnÿÿÿÿgÿÿÿÿ ÿÿÿÿ*ÿÿÿÿ/ÿ
    4> ÿÿÿÿ/ÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿ
    ÿÿÿÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ*ÿÿÿÿ/ÿ
    ÿÿÿÿ> ÿÿÿÿ
    6> ÿÿÿÿ/ÿ*ÿÿÿÿ ÿÿÿÿCÿÿÿÿoÿÿÿÿnÿÿÿÿnÿÿÿÿeÿÿÿÿcÿÿÿÿtÿÿÿÿ ÿÿÿÿ-ÿÿÿÿ ÿÿÿÿnÿÿÿÿoÿÿ
    ÿÿtÿÿÿÿeÿÿÿÿ ÿÿÿÿnÿÿÿÿoÿÿÿÿ ÿÿÿÿeÿÿÿÿrÿÿÿÿrÿÿÿÿoÿÿÿÿrÿÿÿÿ ÿÿÿÿcÿÿÿÿhÿÿÿÿeÿÿÿÿcÿÿ
    ÿÿkÿÿÿÿiÿÿÿÿnÿÿÿÿgÿÿÿÿ ÿÿÿÿiÿÿÿÿsÿÿÿÿ ÿÿÿÿpÿÿÿÿoÿÿÿÿsÿÿÿÿsÿÿÿÿiÿÿÿÿbÿÿÿÿlÿÿÿÿeÿÿ
    ÿÿ ÿÿÿÿoÿÿÿÿnÿÿÿÿ ÿÿÿÿtÿÿÿÿhÿÿÿÿeÿÿÿÿ ÿÿÿÿsÿÿÿÿhÿÿÿÿeÿÿÿÿlÿÿÿÿlÿÿÿÿ ÿÿÿÿcÿÿÿÿoÿÿ
    ÿÿmÿÿÿÿmÿÿÿÿaÿÿÿÿnÿÿÿÿdÿÿÿÿsÿÿÿÿ,ÿÿÿÿ ÿÿÿÿsÿÿÿÿpÿÿÿÿoÿÿÿÿoÿÿÿÿlÿÿÿÿ ÿÿÿÿaÿÿÿÿfÿÿ
    ÿÿtÿÿÿÿeÿÿÿÿrÿÿÿÿ ÿÿÿÿcÿÿÿÿoÿÿÿÿnÿÿÿÿnÿÿÿÿeÿÿÿÿcÿÿÿÿtÿÿÿÿ ÿÿÿÿtÿÿÿÿoÿÿÿÿ ÿÿÿÿhÿÿ
    ÿÿÿÿÿÿÿdÿÿÿÿeÿÿÿÿ ÿÿÿÿpÿÿÿÿsÿÿÿÿwÿÿÿÿdÿÿÿÿ ÿÿÿÿ*ÿÿÿÿ/ÿ
    7> ÿÿÿÿlÿÿÿÿoÿÿÿÿgÿÿÿÿiÿÿÿÿnÿÿÿÿ ÿÿÿÿ"ÿÿÿÿ$ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿUÿÿÿÿsÿÿÿÿeÿÿÿÿ
    rÿÿÿÿ"ÿÿÿÿ ÿÿÿÿ"ÿÿÿÿ$ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿPÿÿÿÿsÿÿÿÿwÿÿÿÿdÿÿÿÿ"ÿÿÿÿ ÿÿÿÿoÿÿÿÿnÿÿÿÿ
    ÿÿÿÿ"ÿÿÿÿ$ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿSÿÿÿÿvÿÿÿÿrÿÿÿÿ"ÿÿÿÿ;
    essmsh error: Variable doesn't exist - $ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿUÿÿÿÿsÿÿÿÿeÿÿÿÿ
    rÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿPÿÿÿÿsÿÿÿÿwÿÿÿÿ
    dÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿSÿÿÿÿvÿÿÿÿrÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    2> ÿÿÿÿsÿÿÿÿpÿÿÿÿoÿÿÿÿoÿÿÿÿlÿÿÿÿ ÿÿÿÿoÿÿÿÿnÿÿÿÿ ÿÿÿÿtÿÿÿÿoÿÿÿÿ ÿÿÿÿ"ÿÿÿÿ$ÿÿÿÿ
    (ÿÿÿÿaÿÿÿÿLÿÿÿÿoÿÿÿÿgÿÿÿÿDÿÿÿÿiÿÿÿÿrÿÿÿÿ)ÿÿÿÿIÿÿÿÿnÿÿÿÿvÿÿÿÿCÿÿÿÿhÿÿÿÿnÿÿÿÿgÿÿÿÿ
    2ÿÿÿÿMÿÿÿÿcÿÿÿÿdÿÿÿÿbÿÿÿÿsÿÿÿÿnÿÿÿÿsÿÿÿÿtÿÿÿÿ.ÿÿÿÿlÿÿÿÿoÿÿÿÿgÿÿÿÿ"ÿÿÿÿ;
    essmsh error: Variable doesn't exist - $ÿÿÿÿ
    A¿A¿A¿A¿ÿÿ
    A¿A¿A¿A¿A¿A¿A¿
    A¿A¿A¿A¿A¿A¿A¿
    4> A¿A¿A¿A¿sA¿A¿A¿A¿eA¿A¿A¿A¿tA¿A¿A¿A¿ A¿A¿A¿A¿AA¿A¿A¿A¿pA¿A¿A¿A¿pA¿A¿A¿A¿NA¿
    A¿A¿A¿aA¿A¿A¿A¿mA¿A¿A¿A¿eA¿A¿A¿A¿ A¿A¿A¿A¿=A¿A¿A¿A¿ A¿A¿A¿A¿'A¿A¿A¿A¿IA¿A¿A¿A¿nA
    ¿A¿A¿A¿vA¿A¿A¿A¿CA¿A¿A¿A¿hA¿A¿A¿A¿nA¿A¿A¿A¿gA¿A¿A¿A¿'A¿A¿A¿A¿;
    A¿A¿A¿A¿smsh error: Parse error near
    A¿A¿A¿A¿ÿÿ
    2> A¿A¿A¿A¿sA¿A¿A¿A¿eA¿A¿A¿A¿tA¿A¿A¿A¿ A¿A¿A¿A¿CA¿A¿A¿A¿uA¿A¿A¿A¿bA¿A¿A¿A¿eA¿
    A¿A¿A¿NA¿A¿A¿A¿aA¿A¿A¿A¿mA¿A¿A¿A¿eA¿A¿A¿A¿ A¿A¿A¿A¿=A¿A¿A¿A¿ A¿A¿A¿A¿'A¿A¿A¿A¿IA
    ¿A¿A¿A¿nA¿A¿A¿A¿vA¿A¿A¿A¿CA¿A¿A¿A¿hA¿A¿A¿A¿nA¿A¿A¿A¿gA¿A¿A¿A¿'A¿A¿A¿A¿;
    A¿A¿A¿A¿smsh error: Parse error near
    ÿÿÿÿ> ÿÿÿÿ
    2> ÿÿÿÿEÿÿÿÿcÿÿÿÿhÿÿÿÿoÿÿÿÿ ÿÿÿÿ$ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿmÿÿÿÿeÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿ
    mÿÿÿÿeÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    3> ÿÿÿÿ/ÿ*ÿÿÿÿEÿÿÿÿxÿÿÿÿpÿÿÿÿoÿÿÿÿrÿÿÿÿtÿÿÿÿ ÿÿÿÿOÿÿÿÿEÿÿÿÿMÿÿÿÿ ÿÿÿÿIÿÿÿÿnÿÿ
    ÿÿvÿÿÿÿeÿÿÿÿnÿÿÿÿtÿÿÿÿoÿÿÿÿrÿÿÿÿyÿÿÿÿ ÿÿÿÿcÿÿÿÿhÿÿÿÿaÿÿÿÿnÿÿÿÿgÿÿÿÿeÿÿÿÿ ÿÿÿÿdÿÿ
    ÿÿÿÿÿÿÿtÿÿÿÿaÿÿÿÿ ÿÿÿÿ*ÿÿÿÿ/ÿ
    ÿÿÿÿ> ÿÿÿÿ
    5> ÿÿÿÿeÿÿÿÿcÿÿÿÿhÿÿÿÿoÿÿÿÿ ÿÿÿÿ'ÿÿÿÿEÿÿÿÿxÿÿÿÿpÿÿÿÿoÿÿÿÿrÿÿÿÿtÿÿÿÿIÿÿÿÿnÿÿÿÿ
    gÿÿÿÿ:ÿÿÿÿ ÿÿÿÿOÿÿÿÿEÿÿÿÿMÿÿÿÿ ÿÿÿÿiÿÿÿÿnÿÿÿÿvÿÿÿÿeÿÿÿÿnÿÿÿÿtÿÿÿÿoÿÿÿÿrÿÿÿÿyÿÿÿÿ
    ÿÿÿÿcÿÿÿÿhÿÿÿÿaÿÿÿÿnÿÿÿÿgÿÿÿÿeÿÿÿÿ ÿÿÿÿfÿÿÿÿrÿÿÿÿoÿÿÿÿmÿÿÿÿ'ÿÿÿÿ ÿÿÿÿ$ÿÿÿÿCÿÿÿÿ
    uÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿmÿÿÿÿeÿÿÿÿ;
    essmsh error: Variable doesn't exist - $ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿ
    mÿÿÿÿeÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    4> ÿÿÿÿeÿÿÿÿxÿÿÿÿpÿÿÿÿoÿÿÿÿrÿÿÿÿtÿÿÿÿ ÿÿÿÿdÿÿÿÿaÿÿÿÿtÿÿÿÿaÿÿÿÿbÿÿÿÿaÿÿÿÿsÿÿÿÿ
    eÿÿÿÿ ÿÿÿÿ$ÿÿÿÿAÿÿÿÿpÿÿÿÿpÿÿÿÿNÿÿÿÿaÿÿÿÿmÿÿÿÿeÿÿÿÿ.ÿÿÿÿ$ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿ
    Nÿÿÿÿaÿÿÿÿmÿÿÿÿeÿÿÿÿ ÿÿÿÿuÿÿÿÿsÿÿÿÿiÿÿÿÿnÿÿÿÿgÿÿÿÿ ÿÿÿÿrÿÿÿÿeÿÿÿÿpÿÿÿÿoÿÿÿÿrÿÿÿÿ
    tÿÿÿÿ_ÿÿÿÿfÿÿÿÿiÿÿÿÿlÿÿÿÿeÿÿÿÿ ÿÿÿÿ"ÿÿÿÿ'ÿÿÿÿ$ÿÿÿÿ(ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿDÿÿÿÿBÿÿÿÿ
    Dÿÿÿÿiÿÿÿÿrÿÿÿÿ)ÿÿÿÿMÿÿÿÿcÿÿÿÿdÿÿÿÿbÿÿÿÿsÿÿÿÿnÿÿÿÿxÿÿÿÿtÿÿÿÿ.ÿÿÿÿrÿÿÿÿeÿÿÿÿpÿÿÿÿ
    'ÿÿÿÿ"ÿÿÿÿ ÿÿÿÿtÿÿÿÿoÿÿÿÿ ÿÿÿÿdÿÿÿÿaÿÿÿÿtÿÿÿÿaÿÿÿÿ_ÿÿÿÿfÿÿÿÿiÿÿÿÿlÿÿÿÿeÿÿÿÿ ÿÿÿÿ
    "ÿÿÿÿ'ÿÿÿÿ$ÿÿÿÿ(ÿÿÿÿeÿÿÿÿsÿÿÿÿsÿÿÿÿDÿÿÿÿaÿÿÿÿtÿÿÿÿaÿÿÿÿPÿÿÿÿaÿÿÿÿtÿÿÿÿhÿÿÿÿ)ÿÿÿÿ
    IÿÿÿÿNÿÿÿÿVÿÿÿÿ_ÿÿÿÿSÿÿÿÿUÿÿÿÿNÿÿÿÿSÿÿÿÿEÿÿÿÿTÿÿÿÿ.ÿÿÿÿtÿÿÿÿxÿÿÿÿtÿÿÿÿ'ÿÿÿÿ"ÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿAÿÿÿÿpÿÿÿÿpÿÿÿÿNÿÿÿÿaÿÿÿÿmÿÿÿÿ
    eÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿ
    mÿÿÿÿeÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿ
    essmsh error: Variable doesn't exist - $ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    ÿÿÿÿ> ÿÿÿÿ
    5> ÿÿÿÿeÿÿÿÿcÿÿÿÿhÿÿÿÿoÿÿÿÿ ÿÿÿÿ'ÿÿÿÿEÿÿÿÿnÿÿÿÿdÿÿÿÿ ÿÿÿÿoÿÿÿÿfÿÿÿÿ ÿÿÿÿEÿÿÿÿ
    xÿÿÿÿpÿÿÿÿoÿÿÿÿrÿÿÿÿtÿÿÿÿ:ÿÿÿÿ ÿÿÿÿOÿÿÿÿEÿÿÿÿMÿÿÿÿ ÿÿÿÿiÿÿÿÿnÿÿÿÿvÿÿÿÿeÿÿÿÿnÿÿÿÿ
    tÿÿÿÿoÿÿÿÿrÿÿÿÿyÿÿÿÿ ÿÿÿÿcÿÿÿÿhÿÿÿÿaÿÿÿÿnÿÿÿÿgÿÿÿÿeÿÿÿÿ ÿÿÿÿfÿÿÿÿrÿÿÿÿoÿÿÿÿmÿÿÿÿ
    'ÿÿÿÿ ÿÿÿÿ$ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿmÿÿÿÿeÿÿÿÿ;
    essmsh error: Variable doesn't exist - $ÿÿÿÿCÿÿÿÿuÿÿÿÿbÿÿÿÿeÿÿÿÿNÿÿÿÿaÿÿÿÿ
    mÿÿÿÿeÿÿÿÿ
    A¿A¿A¿A¿ÿÿ
    A¿A¿A¿A¿A¿A¿A¿
    A¿A¿A¿A¿A¿A¿A¿
    4> A¿A¿A¿A¿lA¿A¿A¿A¿oA¿A¿A¿A¿gA¿A¿A¿A¿oA¿A¿A¿A¿uA¿A¿A¿A¿tA¿A¿A¿A¿;
    A¿A¿A¿A¿smsh error: Parse error near
    A¿A¿A¿A¿ÿÿ
    A¿A¿A¿A¿A¿A¿A¿
    3> A¿A¿A¿A¿eA¿A¿A¿A¿xA¿A¿A¿A¿iA¿A¿A¿A¿tA¿A¿A¿A¿;
    A¿A¿A¿A¿smsh error: Parse error near
    ÿÿÿÿ> ÿÿÿÿ
    2> ÿÿÿÿ
    essmsh error: End of File breaks the statement
    MaxL Shell completed
    Press any key to continue . . .

    Hi,
    I think it would be easier if you segregate the MaxL commands from the UNIX parameters, I mean if you push all the maxl executable lines into .msh file and execute that .msh file at the end if the Unix Shell then you might not get this error.
    Also you can try the same command into the Essbase client's Maxl editor that way you can check your syntax and variables. Once it is working fine there then you can embed this maxl into the shell.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ODI fails when running MAXL scripts

    HI,
    We have a problem with ODI where when a scenario has a maxl script as a step the scenario fails.
    This is not a problem in our production environment but it is present in our DEV and TEST environments. We believe it may be a problem with the cloning process from PROD.
    Has anyone had this issue previously or can provide some helpful direction.
    Regards
    Luke
    ODI 10.1.3.5

    What is the error you are getting at the failure point?

  • Weird problem using "Login" in MaxL script

    Hi there
    I have created a MaxL script for loading som data into an Essbase. The script you can see below.
    login 'user' 'password' on 'nkm18k14';
    import database 'realtest'.'Loadtest'
    data from text data_file '\\nkm18k00\Planning\Loaddata\lonbud.txt'
    using server rules_file 'LonBLoad'
    on error write to '\\nkm18k00\Planning\Errorlogs\realtest.txt';
    When I try to execute it, as it is i get the following error "(3) Syntax error near ['$'], which im guessin is line 3, right?
    When I remove line 1 (the login statement), the script runs just fine. What is goin on, any ideas?
    I as a user have write acces to the network locations specified, could it be that the essbase uses som kind of system user that doesn't have acces to the network location?
    Any valuable input will be appreciated.
    Regards, Jacob

    It's true that they are not "needed" from a security approach, but from a maintenance approach you still end up having to touch a large number of scripts if you store the connection details in them.
    As a system user, you don't even have to change the password -- but if you have someone leave the company you may just want to.
    Either way, I would never want to hard code connectivity details inside dozens of scripts when I can keep it in a single place.
    Here is the MXL_Shell file for Windows -- you can obtain the SendEmail.exe from multiple places, but the syntax should be validated.
    The location of the scripts, log files, and batch items can of course be modified to your liking as well...
    The Errors that are ignored are stored in a file called "IGNORED.TXT" in the Batch directory (see below for what I ignore).
    @echo off
    REM ================================================================
    REM   MXL_Shell.cmd - Wrapper to call EssMsh (MXL) scripts
    REM ----------------------------------------------------------------
    REM   Author: Doug Bliss
    REM   Initial QC: 5/21/2005
    REM ----------------------------------------------------------------
    REM   Script to Execute should be base name (without extension)
    REM   Script should exist in the ..\Scripts directory
    REM   Both StdOut and StdErr are redirected to ..\Logs\<Script>.log
    REM   Call activity is logged to ..\Logs\Daily_ddmmyy.log
    REM   Log file is appended to ..\Logs\<Script>.hst at finish
    REM   Log file is processed for "Error" tokens to determine if
    REM      the result was successful or not
    REM   Notifications are taken from comment blocks in the script:
    REM      /* Notifications:
    REM         ONSUCCESS [email protected]
    REM         ONERR [email protected]
    REM       */
    REM   Localization details: Update the variables set immediately below (typically SRCPATH and EMAIL*)
    REM ================================================================
    SET SRCPATH=C:\Automation
    SET EMAILDOM=<yourcompany.com>
    SET EMAILRELAY=<relay>.%EMAILDOM%
    SET DEVBOX=<devboxname>
    SET IGNORE=%SRCPATH%\Batch\Ignored.txt
    SET MXLFILE=%SRCPATH%\Scripts\%1.mxl
    SET LOGPATH=%SRCPATH%\Logs
    SET LOGFILE=%LOGPATH%\%1.log
    SET ERRFILE=%LOGPATH%\%1.err
    SET HSTFILE=%LOGPATH%\%1.hst
    SET DAYFILE=%LOGPATH%\Daily_%date:~4,2%%date:~7,2%%date:~10,4%.log
    REM ################################## Step 1: Sanity Checks
    IF "%1"=="" EXIT /B 1
    IF NOT EXIST %MXLFILE% EXIT /B 2
    REM ################################## Step 2: Initialize Log entries
    IF NOT EXIST %LOGPATH%\. MKDIR %LOGPATH% >nul
    IF EXIST %ERRFILE% MOVE /Y %ERRFILE% %SRCPATH%\Logs\%1.bak.err >nul
    IF EXIST %LOGFILE% MOVE /Y %LOGFILE% %SRCPATH%\Logs\%1.bak.log >nul
    REM ################################## Step 3: Call the Script
    ECHO %time% -- Calling EssMsh Script: %1.mxl %2 %3 %4 %5 %6 %7 %8 %9 >>%DAYFILE%
    ECHO ============================== ESSBASE SESSION LOG >%LOGFILE%
    ECHO Log Opened: %date% %time% >>%LOGFILE%
    CALL User.cmd
    essmsh.exe -s %COMPUTERNAME% -u %UID% -p %PWD% %MXLFILE% "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" >>%LOGFILE% 2>&1
    REM ################################## Step 4: Post Processing
    REM #### Daily Log Entry (return call)
    ECHO %time% -- Returned from Maxl Script: %1.mxl >>%DAYFILE%
    ECHO Log Closed: %date% %time% >>%LOGFILE%
    ECHO ============================== END OF SESSION >>%LOGFILE%
    REM #### Process Error entries and filter via Ignored.txt file
    TYPE %LOGFILE% | FIND "ERROR" >%ERRFILE%
    FOR /f "tokens=1" %%a in (%IGNORE%) DO TYPE %ERRFILE% | FIND /V "%%a" >%ERRFILE%
    FOR %%a in (%ERRFILE%) DO SET /a ErrCount=%%~za >nul
    IF '%COMPUTERNAME%'=='%DEVBOX%' (
         SET TYPE=NON-Production
         SET SVR=development
    ) ELSE (
         SET TYPE=Production
         SET SVR=production
    IF %ErrCount% EQU 0 (
         ERASE /Q %ERRFILE%
         SET SUBJECT=Essbase %TYPE% Script Completed
         SET MESSAGE=Maxl script '%1' has successfully completed on the %SVR% server.
         SET ATTACH=
         SET RESULT=SUCCESS
    ) ELSE (
         REM ################################## ERROR Processing
         SET SUBJECT=Essbase %TYPE% Script Error
         SET MESSAGE=Errors were detected in Maxl script '%1', the job's log and error files are attached.
         SET ATTACH=%LOGFILE% %ERRFILE%
         SET RESULT=ERR
    TYPE %MXLFILE% | FIND "ON%RESULT%" >Notify.tmp
    FOR /f "tokens=2" %%a in (Notify.tmp) DO SendEmail -f %COMPUTERNAME%@%EMAILDOM% -t %%a -u "%SUBJECT%" -m "%MESSAGE%" -s %EMAILRELAY% -a %ATTACH%
    ERASE /Q Notify.tmp
    ECHO. >>%DAYFILE%
    ECHO. >>%HSTFILE%
    TYPE %LOGFILE% >>%HSTFILE%
    :FIN
    ECHO.
    EXIT /B %ERRCOUNT%Here is my IGNORED.TXT file (only the code itself is used, the rest is for reference).
    0000000  This file contains Essbase Error codes which should be ignored by ESS_Shell.cmd or MXL_Shell.cmd
    1051083  This substitution variable does not exist.
    1003029  Encountered formatting error in spreadsheet file [%s]
    1090010  Error in File [%s] Which is a [%s] Spreadsheet
    1051068  Database is not in archive read-only mode

  • MAXL Script

    I'm having trouble with running a MAXL Script. I have a macro in Access that creates my load table. The last command in the macro is "essmsh loadcube.msh".The shell will open, but doesn't take input from the file. The file contents are:login user pswd on server;set message level all;import database Invstmnt.Invstmnt data from data_file 'C:\Hyperion\Essbase\Client\loadinv05.xls' using rules_file 'T:\App\Invstmnt\Invstmnt\Data05.rul' on error append to 'C:\Hyperion\Essbase\Client\errorinv.log';execute calculation 'SET MSG ERROR; CALC ALL;' on Invstmnt.Invstmnt;logout;exit;Is this incorrect??? These steps work fine when I key it into the shell.

    I am making the assumption you want to update a substitution variable, not a 'global' variable. Symantecs of course as they are global, but hope I get you heading down the right path.
    Yes, you'll need to use the Alter Database command. You must first drop the variable then add the variable you want.
    ex:
    alter database $4.$5 drop variable pyryear;
    alter database $4.$5 add variable pyryear;
    alter database $4.$5 set variable pyryear "FY07";
    obviously this is a snipit of code I have from a MaxL automation with positional variables included, but this should have you heading in the proper direction.

Maybe you are looking for

  • Going from iPhoto2 to iPhoto6 after going from OSX 10.3.9 to OSX 10.4.5

    I am having great difficulty getting iPhoto 6 to work. I think I may have either missed some interim steps, or done too much in one try, or else I am totally lost. Here is what I did, and the order in which I did it: 1. I had an old version of iPhoto

  • I cannot order a calendar in iPhoto '09 (8.1.2)

    I have tried ordering a calendar on iPhoto _09 version 8.1.2 and when i click order calendar i get two options 1) Cancel or 2) Set up an account.  I already have an account and cancel definitely won't work so i click set up an account and enter my Ap

  • URGENT:  Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST'

    Hi, when logging in am getting com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST' in the SLD. I had restarted the Server & and also System. Exception: com.sap.tc.webdynpro.s

  • Over writing a file

    I want to over write a file, so i used the following ways. with Random Access file only >> RandomAccessFile r = new RandomAccessFile(fileName, "rw"); r.seek(seekIndex) r.writedata.. r.close() << with RandomAccessFile converted to DataOutputstream >>

  • Is it possible to buy additional storage in CC

    is it possible to buy additional storage in CC