MAXL script

Hello

Please nay one can me the maxl script

We need display the filter with associated groups

what filter is available for what group

Thanks in advance


Have you tried - display privilege

See you soon

John

Tags: Business Intelligence

Similar Questions

  • 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

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

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

  • 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

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

  • MAXL script start &amp; Stop application

    Hello all-

    Is there a way to start and stop the application via the MAXL script? Should what command I use to achieve this?

    Thank you

    MAXL

    change the application database app.db load

    change the database unloading app.db application

    More info here:-http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/altapp.htm

    See you soon

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

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

  • MaxL script syntax: how to add comment lines?

    How can I add comment lines to the MaxL scripts? REM did not work, "did not work.

    http://download.Oracle.com/docs/CD/E10530_01/doc/EPM.931/html_esb_techref/MAXL/DDL/utils/Shell/syntax.htm

    Hello

    You add comments and C++ with / * for beginning and * / for the commentary to the end.

    Welcome them
    Kevin

  • MaxL Script and batch file

    I have a MaxL script that exports data from different cubes Level0. I have a batch file to call this script at daily intervals.

    I want to name something out of different every day (preferably NAMEmmdd type format). I know that I can add a rename or move the lot but wonder if there is a MaxL method that will allow me to export to another name?

    Current MaxL is simply
    export database APP. Level0 data_file DB database ' ' $Arborpath\am1119.txt "";

    Ideas or direction to go learn the answer?

    T,
    J

    Hello

    You can enter variables in maxl, so you the calling batch file can pass in a variable that contains the name of the file with the current date...

    For example, you have a batch file
    essmsh c:\temp\export.mxl "C:\temp\output%DATE:~3,2%%DATE:~0,2%.txt".

    If that was run today it would pass in ' C:\temp\output1118.txt

    Now in your maxl you just refer to the variable with

    export data from database sample.basic Level0 to data_file $1;

    $1 refers to the variable which has been adopted, the 1 being the position, in which it was adopted.

    See you soon

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

  • MAXL scripts to perform the backup of the following

    Help me with these (Maxl script) to do these backups


    How to take backup of the filters (use maxl script to get information from filtering of all native cubes).
    Since we use Xref calc a lot, so we need information of the backup location alias.
    We must so we need information of partition saved partitioning.

    Hello

    Filter are stored in the essbase.sec file is good start to ensure that is saved.

    As for extract filter by maxl information you can do it with something like: -.

    login password admin on localhost.
    spool to 'c:\temp\filters.txt ';
    show the line of filter all;
    spool off;
    disconnection;

    or if you want to restrict the filter down to a database using
    display the filter line app.db;

    You will also need to edit the width of the column to mount all the filter example
    Set column_width 50;

    You can also export the file safely in a text file if you want which includes all the information filter (from 9.3.1)
    security_file export of data_file C:\temp\sec_file.txt;

    I guess that your scores change very often, so you can easily just export the partition as xml to EAS, depending on what you are on.

    See you soon

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

Maybe you are looking for