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/

Tags: Business Intelligence

Similar Questions

  • How to read digital signals with pre-and post-trigger on a card PCI-6251

    I have 22-bit parallel position of data entering TTL lines to 16 kHz with a pulse of marker that says when the data is valid. I also have a fault line which gives an impulse when an error condition is met. I want to read in the 22 lines of position with 500 positions of pre-event and post-event 500 data when the fault line says. How do I pre and post-déclencher lines digital input on a card PCI-6251?

    If this is not possible on this map, which maps PCI would be possible?


  • Pre and Post build screws

    When generating pre and post screws we have the possibility of running, is possible to get that build spec, they were launched since (that is if you have multiple versions of a project)? Also, is there a way to pull the output through nodes of property directory, or what I need to parse the XML project?

    I did a quick test with a selection of pre-designed programmes VI and the model that is already created by the build specification provides two points you requested by nature.  I'm just wired to the top of some indicators and forced the FP to show test, but I guess you could save in a file or put her in something else needed.

    It comes with LV 2013 (32 bit).

  • SRM controls (pre and Post turn on)

    I'm looking to what hooks are available under SRM to run scripts.

    Ideally, I would like to be able to run scripts Powershell VI Toolkit (which would be pre power on for orders of type VM and post-puissance on orders of type guest VM) and Windows Scripts (post-tensioning).

    I first thought that these scripts (as configured by the VM in the cable group) would run on the virtual machine in question.  I realize that they both run on the host SRM (the manual is not explicitly said, that could be useful!).   To get to the point, what I have to do is to identify the virtual machine that will be started so that I can script events to occur for this virtual machine.  I was looking for variables (i.e. something like VMName and GuestName %) that would allow me to execute commands to reconfigure the computer in question.  Does anything like this exist, or there at - it another way to do this?  If there is not, I consider something of a gap, I spend the VMname as a parameter to the scriot for each virtual computer.

    Thank you

    AX

    Here is an excerpt of an article that I'm working on. I think that table 6 includes the types of

    the variables you are looking for.

    Order steps run with the identity of the local system account on the SRM

    on the recovering site server host. When a step of the command runs, a number of

    environment variables are defined in the runtime environment. Table 5 lists the environment variables that are available for all stages of order.

    Table 5. Environment variables available to all stages of order

    Name

    Value

    Example of

    VMware_RecoveryName

    The name of the recovery plan that runs

    "Plan A".

    VMware_RecoveryMode

    The recovery mode

    'test' or 'recovery '.

    VMware_VC_Host

    The host name of the host to vCenter site recovery

    'vc_hostname.example.com '.

    VMware_VC_Port

    The network port used to communicate with the host to vCenter

    '443 '.

    Additional environment variables listed in table 6, are affected if the step of the order runs on a virtual machine that is recovered.

    Table 6. Environment variables available to the ordering steps running on virtual machines recovered

    Name

    Value

    VMware_VM_Uuid

    UUID used by vCenter to uniquely identify this virtual machine

    VMware_VM_Name

    The name of this virtual machine, as shown on the protected site

    VMware_VM_Ref

    The managed virtual machine object ID

    VMware_VM_GuestName

    The name of the guest OS as defined by the API of VIM.

    VMware_VM_GuestIp

    The IP address of the virtual machine if it is known.

  • MaxL script with ODI

    Hello, friends.

    How to call the script MaxL thru ODI? I have to create the procedure, but what technology and what command can I use?

    Thank you!

    You can create a step using technology "Operating System" and then just put in the line of command for example

    cmd/c/path_to_startmaxl/startMaxl /path_to_script/scriptname.mxl

    who could be

    cmd /c D:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMaxl.cmd D:\MaxlScripts\login.mxl

    See you soon

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

  • quadrant ICS pre and post scores

    I would be interested in your pre - ICS and ICS-post on Quadrant Standard scores. I get between 2800 and 3000 on the MAXX, I think that you guys will get even, maybe even better. Also I was wondering if anyone of you has moved to 1 .2GHz now on ICS. Thank you and hope you enjoy your 'new' Bionic! You can even use the new screen capture feature to post.


  • What is the correct format for a single. File ALX for pre and Post 5.0?

    Hello

    We have an application which works fine on the pre 5.0 BlackBerry OS.  We have one ALX file that uses the _blackberryVersion designation to determine what COD files must be installed to which devices.  We do this because we build separate sets based on the device, for example, the version of the storm is more optimized for the storm devices.  It was all working well, but with the release of BlackBerry OS 5.0 OS versions seem to have changed.  Previously, the storm was 4.7.0.x and when the tour came out it was 4.7.1.x.  Now, however, so the Bold 9700 and Storm 2 are the two 5.0.0.x to the less based on the OS versions for the two simulators available right now.  It is therefore impossible to use the name of _blackberryVersion in the ALX file, at least for us, since we have different files COD for the storm, with touchscreen and other devices without touchscreen.

    So, I try to understand what the appropriate method for the use of a single file ALX is in this case.  From what I can tell the _blackberryVersion element uses only the three first sections of the version, for example 4.7.0 or 5.0.0 so even trying to make it more specific would not work and would also not practice for all minor versions that will be potentially different carriers.

    I did try to use the name of the series, for example , and even that would not work.  I also tried with 9500 | 9530 | 9550 and always had an error in the Application Loader saying there is no compatible software.  At first I thought it was due to some sections of with _blackberryVersion and then some with the series.  But I tried a new ALX file with just the designation of series and still no luck.

    Has anyone found how to do this properly yet?  Are there examples of ALX files which series =? Someone at - it examples of work from ALX files that use the _blackberryVersion and the series?

    Before everyone jumps on me, I'm not the real Director of enforcement, I only update the ALX file.  So I don't think it's possible to have a single file of COD to build, but at that time, that never would have happened so I need to find the best solution with different files of COD, that shouldn't be a problem because she supported and described in the documentation.

    If I need to display the ALX file please let me know.

    Kind regards

    David Dewaele, Jr.

    The correct series attribute for 9500 is "Thunder".

    You can find that where she attributes to all here-(for normal installations)

    C:\Program Files\Common Motion\AppLoader\Device.xml search

  • Removing unused columns - pre and post checks

    Friends...

    DB: 11.2.0.3

    OS: Linux

    I have a few quick questions in relation to removing unused columns which I intend to do on the production database (5 tables 20 GB each)

    The columns are already defined as unused tables, but I'm trying to get a backup plan for this tables if something goes wrong, while editing the table.

    Could some experts share their experience with me?

    1. What backup plan, I can have 5 tables to retrieve them in case something goes wrong?

    (I thought about import export, but I think import will fail if I try to import after that "alter table drop unused column" did not order)

    Also some tables have 500 lines and taking the export compliance will be problematic.

    2. any request to know in advance which package could be invalid after the fall of the column?

    3. statistical does is invalid?

    (According to my knowledge, I think that it won't affect his stats and also tested this and stale_stats column was not after a column.)

    4. do I need to scan the table or rebuild indexes to ensure that this drop column does not affect the performance of the application?

    5. any other minor/major that keep them in check after a fall unused column?

    Thank you

    Mike

    @rp0428... I understand your doubts and yes it's true, there were 5 tables of 20 GB each and additionally 5 tables, there are a few smaller tables I thought won't create a problem. For large tables, I did used control point.

    As always, I have tested plan in dev environment with the same size/data lines but a unused fall was quick and no problem with cancellations is why during production, it took me surprise.

    I had cancellation of 32 GB, so obviously, I was confident of small tables)<5 gb)="" should="" definitely="" fit="" in="" 32gb="" (but="" it="" wasn't="" the="">

    OK - but we can only go through the information you post and you don't post anything of this.

    If you had my question would be why you do not use "checkpoint" when you tested and why you didn't used it for this 5 GB table in production that generated 100 GB of REMAKING?

    My next question would be: what PROBLEM have you tried to solve by dropping the unused columns? Your application was working fine so why was the decision taken?

    And the reason for this question is that ANY significant changes to a table (standard partitions, add virtual columns, split partition, etc.) is ONLY suitable for technical purposes.

    There are almost always other changes that could / should be made and it is usually beneficial to make all these changes as a whole. Common examples include 1) get rid of the old data (dilation), 2) addition of such constraints as NOT NULL, 3) a table partitioning, 4) adding new columns - perhaps with NOT NULL value and/or default values constraints.

    Since 'other' someof these changes can be problematic if done online, it is generally advised to do a thorough analysis to make sure that you have identified ALL the changes you want, you can then do all at once. Often the best solution is to re-create the table and data using the DEC.

    1. a normal 'drop unused' rewrites all the blocks. It's not moving lines to other blocks - it essentially tightens just online content in order to remove all the content of the unused column.

    2. a normal 'drop unused', even if you use control points, leaving the "unusable" table until the WHOLE picture was treated. This means you NEED to perform the operation before normal re-use of this table, you can resume

    3. a normal life 'unused drop' will NOT free space which can be used by other objects - the same lines occupy the same blocks - the lines are just "small". Therefore, there is NO space to release.

    Creating a table (e.g. DEC) you can use a bulk loading and parallel operations and move lines of new blocks. It can also if take care of these 'other' I mentioned with little or no extra charge of the changes.

  • Video pre and Post 4.3.0

    What I understood from this forum and the documentation is the following:

    Pre - 4.3.0:

    -You can't embed a video player into your application.  You must download the file on the device file system or the SD card, and then launch a browser pointing to the file.

    + 4.3.0:

    -You can provide a stream to a player within your application.

    My questions are:

    (1) is pre in 4.3.0 there a way to control the size of the video when he launched first?  The video is very low, when I open it in the browser.  However, if I go to the media application and open it, it fills the entire video until the buttons play/stop.

    (2) I know that the user can select "full screen", but my clips are very short, and it takes a few seconds before getting full screen.  Is it possible to make the media player to immediately go fullscreen?

    (3) is it possible to ignore the browser and call the media player directly?

    I suspect that the answers are:

    (1) NO.

    (2) NO.

    (3) NO.

    but I thought I would give it a shot.

    Any help would be greatly appreciated.

    1. No, it is not possible.

    2. you can use the EventInjector to inject the button to change mode full screen.

    3. you can use the player play back video in version 4.2.1 and higher of the BlackBerry device software.  The ability to embed the video player within your own screen (as well as your own fields) has been added in version 4.3.0.

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

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

  • 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

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

Maybe you are looking for