Automation maxl script on a server Unix Essbase - help needed please

Hi all

I wonder if someone could help me because I am completely new to unix and we have an old server with essbase v9.3.1 which holds a few cubes that update us manually through orders of PuTTY. Basically, we have a preview to update maxl file and a file dat apdate maxl are executed by running a .ksh file using put them. The .ksh file has the following line as we would in a Windows .bat file

essmsh /xdata/ETL/prod/Hyperion/dataload/scripts/refreshEssbase.msh

By operating manually via putty the maxl file works perfectly.

In a recent attempt to automate this I asked our guys to Unix to create a crontab schedule that he did, but he doesn't seem to be running. He removed the ctrl - M and added a path to the essmsh as follows:

/ Hyperion/Essbase/bin/essmsh /Xdata/ETL/prod/Hyperion/dataload/scripts/refreshEssbase.msh

But this seems to give the error:

LD.so.1:: essmsh: fatal: libessmaxlu.so: open failed: no such file or directory
Killed

The libessmalu.so file is in the same directory as the essmsh so don't know what it means.


So I thought that this could be to do with the path, so I tried to change it to:

xdata/ETL/prod / / Hyperion/Essbase/bin/essmsh /xdata/ETL/prod/Hyperion/dataload/scripts/refreshEssbase.msh

Not always the same error.

Any help? Nobody knows what the .ksh script should be to launch the maxl file? How comes the original script work fine manually via putty but would not go via a task with crontab?

Thank you very much

Grivault

Published by: Dreamscapeuk on July 4, 2011 16:15

If you just take all the details of the hyperionenv.doc and then put in your script but put export in front of each line then set up the variables before essmsh is called
for example export HYPERION_HOME = / Hyperion

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • because I get this message when I load my site "may be missing some files on the server or incorrectly" help me please

    because I get this message when I load my site "may be missing some files on the server or incorrectly" help me please

    "Some files on the server may be missing or incorrect" Warning Message

  • VMware Server VM - network adapter disconnected - help needed please

    Hello world!

    I already install VMware Server running two virtual machines in test environments. Virtual computers running Windows XP Professional (Service Pack 2). VMware server itself is sitting on Windows Server 2003, which I have remote access.

    The plan is to let the virtual machines running continuously and access them directly on a Remote Desktop Protocol. It was working fine until we had an incident with Windows Server 2003.

    The incident was that we decided to upgrade to Service Pack 2 on the server. When we restarted the server, we found that the IP Configs were changed. NIC 1 didn't have any parameters calibrated but NIC 2 made. We removed NIC 1 and then reconfigured to run 2 NIC NIC 1.

    The server now works fine and we can remotely access, but the virtual machines have lost their configurations. When I run it says that the network adapter is disconnected. I kept them and adding new hardware, selected network adapter and connect at startup. But whenever I run a virtual machine, it says that the network adapter is disconnected.

    Anyone know how to fix this? any help would be greatly appreciated.

    Thank you

    Phill

    The guest system control panel-> Add/Remove Programs (uninstall tools and install new web access panel)

    Check the ipconfig/all command on your comments (start-> Run-> cmd)

    Post edited by: janlib

  • Any script to start and stop essbase on Unix?

    I am trying to automate the starting and stop all services in a batch scripts. but my essbase is UNIX. I don't have much exp on Unix. can someone help me please to who?

    If you are closing services, you can use maxl like I said of the windows machine.

    To call a script at startup of windows, then you will need to study a little more maybe cygwin openssh, Rexec, telnet... Google is your friend.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • MaxL script saved on the server

    Hello

    I MaxL script created and save the server to service Regional Administration. I have users who can launch the EAS web, however, it seems to not be able to see my MaxL script. What I gives no specific law, so it can see and run the MaxL script.

    I already schedule MaxL, sometimes, it's just users want to run that, on a case by case basis.

    Thank you

    Hello

    When you save your script there is a sharing option. Try this.

  • MAXL script Unix

    Hi Experts,

    How to run the maxl script in linux in silent mode platform. I invoke the maxl via shell script script. If I run linux script display all the State of charge of dimension for any dimension.

    Thanks in advance.

    This is because as STDOUT (which you have redirected to dev/null with ' > ') and STDERR are separated from the flow. Error / warning messages are on STDERR.

    Try redirection with...

    >/dev/null 2>&1
    

    I'm not an expert in script shell by any means; suggest Googling "redirect STDERR STDOUT" to understand what is really happening.

    EDIT: Since the OP scored this post 'Correct' (Robert really had good complete answer first!) I have corrected the syntax to avoid confusion for anyone who comes here in the future via the search.

    Published by: TimG on October 17, 2012 05:55

  • By using the sign $ on MaxL scripts

    Hi all

    How to use the sign $ on MaxL scripts work? I've seen scripts that $ sign was used instead of user name, password, server name, etc. What are the benefits of its use and how can it be implemented?

    Thanks in advance.

    A

    These are positional variables that are passed to the script for the origination bat file (or a shell script for unix). For example, if you have in your script
    Login $1 $ 2 $3;

    Your calling batch file would be \Essmsh
    myMaxLFile admin password localghost

    The admin would be password $1 $ 2 and localhost $3, you can have more variables there you like.

  • How to export Unicode application data to aid ESSMSH maxl script?

    Hello

    I have a problem with Chinese characters in a Unicode application.

    I am trying to export data from a Unicode application using the maxl script syntax:
    EXPORT of DATABASE ' ' Sales. " To the SERVER HELP fichier_journal sales 'Backup' OF DATA_FILE 'D:\Backup.txt ';

    1. I have run this MaxL script using the MaxL editor in the Administration Console. It returns the data with members in the Chinese characters correctly.
    2. I call this MaxL script from a script of commands using ESSMSH 'D:\Backup.mxl '. It returns the data but members in Chinese character is displayed as? instead of Chinese characters.

    I need this MaxL script to run in a batch script and I need the text file must be loaded in a cube later. But because the Chinese character is displayed as?, it will return the error when loading data.
    How to solve this problem?

    Thanks and greetings

    Not that I have ever done this (English and Dutch use the same character, and that's the limit of my languages), but by the Tech Ref:

    MaxL Shell and Unicode
    MaxL Shell is in native mode to start in interactive mode.
    MaxL Shell is native mode when a script without a header byte UTF8 processing.
    MaxL Shell is in UTF8 mode when a script with the header bytes UTF8 processing.
    For more information, see the section of Oracle Essbase database administrator's Guide titled "Compatibility between different Versions of the Client and the server software."

    http://download.Oracle.com/docs/CD/E17236_01/EPM.1112/esb_tech_ref/maxl_utf8shell.html

    See the SER60 here:
    http://download.Oracle.com/docs/CD/E17236_01/EPM.1112/esb_dbag/duniover.html

    And then perform a search in the section for this:

    If you use the Services Administration Console or another tool to create a MaxL script and save it as UTF-8 and then run the MaxL Shell script, MaxL Shell assumes the role of a client in Unicode mode. You can use this approach, for example, to update the contours across generations of dimension. When you create the script, don't forget to include the signing of UTF-8. See indicators of encoding.

    Check out the kaleidoscope of Glenn Schwartzberg since 2009 WORLD tour. I think this is the presentation I recommend the more - he has covered a lot of valuable land, including using the unicode utility. It is available at the section www.odtug.com technology resources. Look under Essbase/Hypeprion, then search for his name.

    You will have to join if you are not already a member. Associate membership is free and will allow you to download the presentation.

    Kind regards

    Cameron Lackpour

    P.S. If find you this point, could you post your solution for the edification of everyone?

  • MAXL Script will not file for data laod error write.

    Sorry, Glenn here is the new thread. I re took place without semi colon after data 3 and the same error came without anything being written to the error file.

    I voluntarily removed a member of the original contour which is included in the loaded data, but still the error file is not written in. I tried to make the load manually but runs it in the background, error file is created on my local hard drive, but he's not writing it. Check the output and it is written in a directory located on the server. I think it's normal.

    It will not write to a local drive? I'll try specifying a task on the server to see if it spins here.

    Thank you

    Original post below.

    Hello

    I am also having this problem.
    I'll include my script below but will state some details before
    We are on Essbase 11.1.1.3
    I'm running the administration Console of my PC client that connects to the server in the script and I read that in this whole file error message won't get written. This documentation has been to v 9.1.3

    Here is my script (I've changed the names)
    Login ' user '' password' server ';

    create the application "Money1' as 'Money2.

    coil stderr to 'errorfile ';

    import the database 'Money1'.' Hand ' data
    text local data_file 'Money1_Data.txt '.
    using the server rules_file 'Data3 '.
    Error adding to 'dataload.err ';

    run the calculation 'ALL CALC'; on 'Money1'.' Hand ';

    disconnection;
    spool off;
    "exit";


    Here's the error output I get:

    line of code: error add to 'dataload.err ';
    The statement executed with warnings.
    (3) close syntax error ["$"]

    I don't see a sign of dollar anywhere in my code and the file of errors did not occur.

    Also error files get written too if the actines are running in the background?

    Thank you!
    Alex

    It 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 that you run through this) did weird things to MaxL. I avoid MaxL in EAS as much as possible (such as 100% of the time).

    NB - the datafilename and errorfilename and their drive letters are local to each time that you run this process through the MaxL shell. I don't know how it works when you run EAS - are local drives to your local session on the server of the EAS? Don't know. Leave EAS, buy TextPad (no I'm not the author of this beautiful product) and download syntax MaxL library and be happy. :)

    Kind regards

    Cameron Lackpour

    Published by: CL on October 7, 2010 07:12
    Put the MaxL in a block of code so that it can work correctly.

  • Is there a way to set MAXL script

    Hello
    Is there a means of MAXL script set up?

    Currently, we have:
    ALTER database appname. CAPEX unlock all objects;

    We want to set the name of the application that we do not have to resolve the script when it migrates from DEV to TEST to Production Server:
    The first 2 lines following work in Maxl, but the third line will work?

    $ESSAPP = appname;
    Plane1 $= 'CapEx ';
    change the $ESSAPP database. $Plan1 unlock all objects;

    The syntax that you use in the third line is for the variables passed in your scripts processing batch you made

    $ESSAPP = appname;
    Plane1 $= 'CapEx ';

    EssMsh $ESSAPP $PLAN1 Myscript

    It would work.

    I think for others to work (depending on the version of Essbase you run)

    If your third line has change database %$ESSAPP%.%$Plan1% unlock all objects;

    It might work. Environment variables are supported in 11, but I don't know about previous versions

  • Launch of Maxl Scripts

    Hello all-

    My users running Maxl script by looging remotely on the server. I want to stop the user to connect the area and ask them to run the script from their machine. The maxl script calls a security file that has the password to sign in Essbase. How can I achieve this? Is it possible I can do user run the script of their machine without having access to the security file that has the user name and password for the administrator account.

    Please advise!

    Thank you!

    It would be possible to remove the requirement for the security file if you encrypt the username your maxl script-based.
    You should always put the name of the server in your maxl script and I don't know how your environment variables are used.

    Or you can always have the security script and to remove passwords username which must be taken in charge with the encrypted file maxl.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • pre-and post loading maxl script in ODI

    I try to call a maxl script in the ODI interface.

    I did the following chages in the properties of the target:

    PRE_LOAD_MAXL_SCRIPT D:\PLAN\Results\Scripts\ODIpreMaxl.mxl

    I got the folloing error message:

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File "< string >", line 89, < module >
    at com.hyperion.odi.essbase.ODIEssbaseConnection.executeMaxl (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)


    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: cannot run the program "essmsh": CreateProcess = 2 error, the system cannot find the file specified

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2457)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:263)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)


    -Raj

    I think I know what the problem is, he's trying to start a Maxl session by running essmsh and he can't find it.
    If you go to the command line and type essmsh what happens?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • The automation of Script Calculaion error

    Hi all

    I am trying to automate the calc script created in environmental assessments, I changed the file script calc as xml type.
    & call via maxl script and get the following error in the log file


    "MAXL > run the calculation FDQM.plan1.opex.xml;"

    ERROR - 1242021 - 1 error syntax near [the.] ']. ”

    The maxl script that is used to run is

    "spool to 'D:\\BRTEST.log ';
    LOGIN admin passwordXXX on 10.125.5.95;
    run the calculation FDQM.plan1.test.xml;
    spool off;
    output.

    Can someone guide me where I'm wrong. ??

    Thanks in advance

    Kind regards

    Change the type of file to csc which is the type of file for essbase calc scripts.

    Then use

    run the calculation FDQM.plan1.opex;

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Batch file to run the MaxL script

    Hi all

    Can someone tell me please how to run a MaxL script by using a batch file in Windows (XP). I use Essbase 11.1.1.3.

    It would be great if someone could send a .bat file, I'm not sure of the syntax.

    See you soon,.
    Sahil

    John gives you the right way re the Ref Tech.

    If you want the code, you can check my post (a bit old but still perfectly usable) here:
    http://camerons-blog-for-Essbase-hackers.blogspot.com/2009/07/fixing-plannings-filters.html

    You can download the code via this post as well.

    Kind regards

    Cameron Lackpour

  • can I change through MAXL Scripts database connections?

    Hello



    I just want to know if I can change through MAXL Scripts database connections. I use essbase 9.3.1.

    Hello

    MAXL will allow you to automate metadata or loading using a rules file, you can pass a name of user and password different to the SQL query, but you it won't let you change the connection that is associated with the rule.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Installation of Toshiba Tecra S1 CD

    I recently had a hardware problem with my laptop Toshiba S1 while in France and Toshiba had repaired under warrantly, but she came back to me with a version of French professional XP. I have been informed that, to make English I need to run my instal

  • How to find the amount of data is transferred. AT &amp; T are to put a 'ceiling' of 150 GB per month.

    I hace heard there is an available for ATT customers 'meter', but I can't. Firefox has such information available?

  • Supporting files outside of the .exe file

    I have a labview executable that uses resources. Currently I use resources by giving the path to the file. This becomes a problem when downloaded files executable support on the Internet and accessible from there. It loads only the exe and the misses

  • The RPC server is unavailable. How can I fix it?

    I have Windows XP SP3 and I try to install a Dell 964 all-in-one printer and every time it almost finished installing it stops and I get a message that says the server RPC is unavailable. How can I fix it? I don't know I asked this question in the ri

  • Plugged in, load, but will not pass 70%

    Mine is an Inspiron 14z, under windows 7 ultimate. The last 2 days my battery charge up to 70%, then it there just stay although the icon shows "plugged in, load» I've tried a few things: Disconnect plug -Remove the battery, put. -Uninstall / install