Maxl Script running Issue in Essbase 11.1.2.2

Hi All,
We have a Maxl Script which takes Level 0 Backup of the Database. We have migrated the apps to the new server 11.1.2.2 and this script is not running in the new server but it works fine in the Old Server.We have the code like this in the script
REM $1 = USERNAME
REM $2 = PASSWORD
REM $3 = servername
REM $4 = BSOAppName = RPSBSO
REM $5 = BSODB_Name = RPSBSOD
REM $6 = ASOAppName = RPSASO
REM $7 = ASODB_Name = RPSASOD
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username  password gvw3086-v.atlanta.hp.com  RPSBSO RPSBSOD RPSASO RPSASOD
When i run the .bat script  an Fatal Error is shown under the above line saying
MSH Fatal Error: Error Initializing localization module.
I have changed all the path locations,server names etc according to the new environment in the script but the script is displaying error like above. Can any one help me on this.
Regards,
Naveen

972698 wrote:
Hi John Thanks for your post.
I would like to give some more information like this is the script named BU_BSO_2.bat which is used for taking backup of individual application  RPSBSO,  and  it calls  Backup_BSO.msh script which is internally called in BU_SO_2.bat file as given below the command. What we do is we just run this BU_BSO_2.bat batch file where it executes  everything and places the backup in given path in the script. But actually  its giving error in executing only the given below line
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username  password gvw3086-v.atlanta.hp.com  RPSBSO RPSBSOD RPSASO RPSASOD
Error shown :   MSH Fatal Error: Error Initializing localization module
And i went through your doc but they are the server  specific paths which we are not using in this script and this script runs fine in 11.1.1.
Let me know if i can provide any more information.
Regards,
Naveen
Try updating
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username  password gvw3086-v.atlanta.hp.com  RPSBSO RPSBSOD RPSASO RPSASOD
to
startMaxl.bat C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username  password gvw3086-v.atlanta.hp.com  RPSBSO RPSBSOD RPSASO RPSASOD
If the location of startMaxl is not in the windows path variable you will need to either update the path variable or put the path in the script e.g.
C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat
or C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMaxl.cmd
Alternatively edit startMaxl and take the variable information out of it and put it in your script then you will be able to use essmsh.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • MaxL script deploy essbase studio cube

    Hi There,
    I am testing my MaxL script deploying cube from essbase studio, here is result from my cmd windows:
    BPM connect status: success
    BPM maxL deployment ... succeeded with warning.
    How do I find out the detail about the warning? I assume it is essbase studio log at C:\Hyperion\logs\esbstudio
    But I did not see any warning message.
    Thanks

    Thanks John and Glenn, I just check my app log, the warning I found is:
    Warning(1013254)
    Hybrid Analysis spanning cannot be enabled on database [test] in application [test]. Check if the database has Hybrid Analysis and if span into relational source is enabled.
    I am not sure I understand this.

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

  • Can i change the database connections through MAXL Scripts?

    Hi,
    just want to know whether i can change the database connections through MAXL Scripts. i am using essbase 9.3.1.

    Hi John,
    I have built my rulefile by connecting to a database & now i want to change the database connections. I know i can change the database connections through frontend. ( File--> open file). I want to know whether i can change the database connections by writing any MAXL Scripts.

  • Essbase Studio MAXL scripts not running

    Hi All,
    I am currently working on Essbase Studio 11.1.2.0. with Windows 2007 sp1 with 64 bit operating system . I have my datasources set to oracle database.
    I am trying to create an outline through maxl scripts. My essbase services etc are running fine.
    Steps of execution with the command are given below:
    1. Click on the Start button, click on run, enter cmd
    2. create the following maxl script named as ocreate.scr using notepad and save it. The login and password are correctly defined.
    ======================================================================================================
    deploy outline from model 'BestModel' in cube schema '\Mydirect\Cube Schemas\Best' login 'XXXXXXX' identified by 'XXXXXX' on host 'UDANASESSBA1' to application 'test' database 'test' using connection 'Essbase_QA_Connection' keep 100000 errors on error ignore dataload write to default;
    exit;
    ========================================================================================================
    3. Run the above script as :
    Essmsh ocreate.scr
    On running the above script I get the following error:
    ===================================================
    Essmsh.exe has stopped working
    ====================================================
    Can anyone help here.
    Thanks in advance
    Bk

    I believe there was an issue with deploying studio using 64bit Maxl, the workaround was to deploy using 32bit Maxl.
    More information available in Oracle Support - "Error "essmsh.exe has stopped working" with MAXL Deploy Script Generated from Essbase Studio on Windows 64-bit [ID 1382589.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Running MaxL scripts

    I was helping a client with automating the running of a MaxL script, using the Windows AT command, and we encountered something odd: a MaxL script that runs fine in EAS does not run correctly when invoked programmatically.This seems to occur when the script involves path references (for error file locations, etc.). Surrounding the path (which had no spaces or "funny" characters) with single quotes works in a script that is to be run from the EAS console.However, when the script is run programmatically (through a batch file, or the AT command), it seems that you have to surround paths with--get this:First: single quotes, to denote the stringSecond: double quotes (outside the single quotes), for a reason a can't quite put into wordsThird: the backslash character used in Windows path references is an escape character in MaxL, so to actually refer to a backslash, you have to use two of them in a row.So, the path used in error writing was originally written in the script like this: 'D:\Errors\DimBuild.err'...and to run programmatically, it had to be:"'D:\\Errors\\DimBuild.err'"...and the problem is, the latter example will NOT run from EAS. Has anyone else encountered this issue?Jared

    I've found that to use a windows path in MAXL, I've found by trial and error that the form that works is'\\\\server05\essbase\buddb\budapp\dataload.txt'Don't know why, but the double backslashes preceding the server need to be escaped, but the subsequent ones don't. I discovered this by trial and error and carefully reading error output.And of course shell statements don't work from EAS.

  • Can you suggest me how to run multiple calc scripts using singel maxl script

    Hello,
    I am writing a maxl script which should be able to :
    1. update Set Variables for the Essbase DB
    2. Execute multiple calc scripts
    2a. Trying to put specific sleep time within multiple calc scripts.
    Thanks and Regards.

    Why are you looking for a Maxl to run multiple maxls? Can't you use a batch or sh script to do it.
    Unix has a sleep command in batch file try using choice
    Regards
    Celvin

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

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

  • Essbase Reports - MAXL Scripts

    <p>I can not find the MAXL script command to execute an EssbaseReport.</p><p> </p><p>In Esscmd, it is RunRept. Any help would be appreciated.</p><p> </p><p>Jamie</p>

    Just an example based on the Sample:Basic DB .... (this is for Windows, I guess the syntax for UNIX is slightly different, refer DBAG for exact details).<BR><BR>export database sample.basic using report_file 'Essbase\\App\\Sample\\Basic\\Bottom.rep' to data_file 'D:\\Essbase\\Reports\TestReport.rpt';<BR>

  • Running a Maxl Script to build dimensionERROR - 1030100 - Cannot open file:

    I calling a Maxl Script to Build dimensions and I receive the following errors:
    ERROR - 1030100 - Cannot open file: [D:\Automation\VOLUMES\LOGS\MAXLLOGS\Vol_DimBld.log].
    ERROR - 1241101 - Unexpected Essbase error 1030100.
    MaxL Script:
    spool on to 'D:\\Automation\\VOLUMES\\LOGS\\MAXLLOGS\\VOL_Dim.out';
    login hypadmin 'hYp@dm1n' on usorsdv41;
    alter system load application VOL_ASO;
    alter application VOL_ASO load database VolumeDB;
    alter application VOL_ASO disable connects;
    import database VOL_ASO.VolumeDB dimensions
    connect as 'admin' identified by 'password' using server rules_file 'DimBld'
    on error append to 'D:\\Automation\\VOLUMES\\LOGS\\MAXLLOGS\\Vol_DimBld.log';
    alter application VOL_ASO Enable connects;
    spool off;
    logout;
    Does anyone have any idea why I am receiving this error?

    I figured out why I was receiving this error, I had the file locked via the batch script.

  • Dropping a essbase cube member through Maxl Script

    Hi,
    Can anybody suggest, how I can delete the the member of a cube through MaxL Script.
    Is this achievable ??

    I think what you're trying to do (delete a member from a dimension) can be done in MaxL through a data load rule and an appropriate dimension load file.
    See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_eashelp/dbdbstdb.htm for more information re "remove unspecified".
    Also see http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/imp_dims.htm for the MaxL statement "import dimensions".
    Lastly, see: http://www.network54.com/Forum/58296/thread/1225372045/Deleting+Members+within+a+Member+Name+in+the+outline+not+manually+but+automatically+- for a fairly indepth discussion of this issue.
    Regards,
    Cameron Lackpour

  • MaxL Script Issue

    Hello everyone-
    I have a need to track when data is posted to an account for the first time within certain departments. Individual departments are created as a combination of three dimensions: Company, LOB, and Entities. For example, I wish to track data that is posted to C601 or C602 in the company dimension, L10 in the LOB dimension, and D140 or D145 in the Entities dimension.
    I'm a newbie in MaxL, but my thought is that creating a trigger in MaxL may be the best way of going about this. I tagged all accounts that currently have data in the departments I wish to track with a UDA of MktgAcct. What I want to do is create a spool if there is any data that is loaded to an account not tagged as MktgAcct within any combination of the members listed above. I'm trying to do this through a MaxL script and my attempts at this are below. I know what I have won't work, but it's an example of what I'm trying to do conceptually. Can anyone give me some guidance on making this work? Thanks so much in advance!
    CREATE OR REPLACE AFTER UPDATE TRIGGER 'CCRCRPT'.'Finstmt'.'Mktg'
    WHERE
    CROSSJOIN({[Net Income].CHILDREN},
         {([Company].[C601], [Company].[C602], [LOB].[L10], [Entities].[D145], [Scenarios].[Actual], [Versions].[Final], [Years].[FY08])}
    WHEN NOT(UDA([Accounts], "MktgAcct"))>0
    THEN SPOOL Mktg_acct
    END

    I guess you are not that far from making it work.
    Here some remarks :
    In your "WHEN" condition you are using the "NOT" operator which is a "boolean" therefore returning TRUE or FALSE not a value.
    As for your UDA(Accounts, "MktgAcct"), the MDX UDA function returns a set of members having the UDA=MktgAcct which is not what you want, I guess.
    Maybe you could try smthg like this :
    WHEN NOT(ISUDA(Accounts,"MktgAcct")) AND [Accounts].CurrentMember > 0
    Hope it helps,

  • How to check MAxl is running properly or not

    Hi All,
    i am working on ASO cube which has to implement Automation for dimension building and data loading. I am unable to execute even a single sample systax with out error. Is there any specific method to use Maxl in ASO cube or any precautions to be taken in ASO for Maxl scripts.
    I don't know it is a foolish question or not to ask like "how to check the Maxl is working properly or not" bcoz it is raising me doubt by raising error for sample script also.
    please help me out from this issue .
    Regards

    Can you log into Essbase through MaxL interactively.
    If so, can you do it from a script? Something like:
    login username password on servername ;
    exit ;
    If you can't do the first, yup, your MaxL client is hosed or you don't have a valid username/password. Or you don't know the servername.
    If you can't do the latter, perhaps your client (could be the server itself, if you're running it from there) has a pathing issue when running batch files.
    If both work, it is a syntax issue. Now you're just faced with your mistake(s). :) But at least you don't have to spin wheels trying to figure out if MaxL is working or not.
    Regards,
    Cameron Lackpour
    P.S. You might want to try using the MaxL editor in EAS and see if your login code works there. I believe (not sure, but I think so) that EAS has its own flavor of MaxL as I know you can run code there without having the Essbase client installed on a local machine.

  • Copying substitution varibale using Maxl script

    Hi,
    Ive been trying to copy application using Maxl script in essbase to take backups. Everything gets copied except substitution variables. Could some one help me in sorting out this issue.
    Is there any specific Maxl Command to copy substitution variable alone from one application to another, if so could u please share it with me.
    thanks

    Hi,
    Unfortunately, as John said, there is no command to copy the subvars. One of my colleagues ran into this same issue on one of my projects. He ended up spooling a script with display variable all command to show all your variables and write them to a text file. from there he wrote a batch file to parse the text file for each of the variables, and then updated the subvars in the backup application with these values.
    The thing you want to look out for here is that you want to make sure you properly handle checking for whether the subvar already exists in the backup application. If it does, you just want to run an update of the value. If it doesn't exist, you want to add it first. This is because there is no create or replace variable, so to avoid any errors, you need to be careful with that. I think you may want to look into some of the other alternatives John provided if you are still looking into this issue.
    Thanks,
    Daniel
    http://www.DVEPM.com

Maybe you are looking for