Execute calc script before batch load

Hi
I use FDM ERPI to load data from Oracle EBS R12 into Hyperion Planning 11.1.2
I use batch loader to load several locations.
How could I execute a Essbase calc script before the import process, so before the first load?
Thanks in advance for your help
Fanny

Sorry, but I have searched in this forum.
I have found topics about how to execute calc script after the load, but nothing (at least I have not found) about calc script befort many load via batch loader.
So if someone can give me some clues...
thanks!
Fanny

Similar Messages

  • How can I execute a script before connection?.

    Hi ,
    I want to execute a script before retrieving the data.How can I do this?.
    Thanks...

    When you say create a command line, what exactly are you referring to? I assume you have a logical schema mapped to the ebs instance you want to run the fnd_global function in (the same one you will have reverse engineered the models from etc), just set that as the schema on the step parameters and ODI will connect through for you as a SQL session.
    Technology set to Oracle ?
    What does the error actually say in the operator log?
    ETA : might be worth checking a few of these links as the refer to EBS with ODI : Oracle EBS and ODI
    Some of the pre-shipped KM's must do something similar to what you are trying to achieve for the apps security.

  • How to execute SQL scripts in batch

    Hi,
    I have separate scripts for Creation of Tables, Stored Procedures, Views, Triggers in different .sql files.
    I have to execute thses scripts in batch in different servers and different databases without opening SSMS.
    All .sql files to be executed in single command.
    Please suggest how to achieve?
    Appreciate your help.
    Regards,
    Bala

    you can use sqlcmd
    https://msdn.microsoft.com/en-us/library/ms162773.aspx
    other options are osql,isql
    https://technet.microsoft.com/en-us/library/aa214012%28v=sql.80%29.aspx
    https://technet.microsoft.com/en-us/library/aa214007%28v=sql.80%29.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Executing shell scripts before the war is loaded

    I want to execute some shell scripts before my web application starts. I am using struts. One way is to execute these shell scripts is by executing them in a startup servlet which is loaded before action servlet is loaded. Am I right? Is there some other way. I am using Tomcat 5.0. Is there some way by which i can execute these shell scripts before my war is loaded in the tomcat. Actually it is possible that tomorrow i might have more shell scripts than i have today. In that case i do not want to modify the code. Thats the reason I am wondering if there is a way i can do this with the help of tomcat.

    thats right. So out of two ways, one, being having a startup servlet and second being the tomcat shell script change, which is the preferred way? Is there any other third way to achieve this?

  • Execute Calc Script from another application

    Hello Guru's,
    i have two applications (Planning and HPCM). Both 11.1.1.3.
    I write a calc.script in HPCM (with XREF) that provide me a data from Planning to HPCM. Now i am trying to execute a script in planning. So that a planning user can load the data by clicking a business rule.
    Is it possible?
    Many thanks,
    WhiteBaer

    VB is a system wide scripting engine, so you can run it from outside InDesign. You create an InDesign object to address InDesign. This can be done by another application as well.
    Javascript is a scripting engine provided soley by InDesign. Unless you have some method of telling InDesign to run the script, it's a non-starter. You can probably create a dll to tell InDesig to run a javascript, but I think a simple VB is WAY simpler...
    All you really need to do is write a very short VB and feed the javascript to the VB as a string anc call app.doScript() providing the javascript to the doScript method.
    HTH,
    Harbs

  • Execute Calc script in Maxl with compained all script

    Hi,
    I have nearly 20 Calc script in one of the application. I need to run all the script once I change the calc script.
    Execute calculation default 'databasename.application-name' ;
    Is there any command in MaxL directly use to run all the calc script?
    Kindly let me know.

    I'm not sure why anyone would want to run 20 scripts. If I wanted to do that I would combine them into one or two. If your heart is set on running ALL the scripts in your database, You could do something like create a generic MaxL script like:
    Execute calculation sample.basic.$1
    then in your batch script have a statement that selects all of the files that end in .csc for the directory and pass them to the script essmsh mymaxl.mxl Filename
    I'll assume either the scripts are named in the order you want them to run or you could rename them with a numberic to indicate the run order.

  • Detect when User Calc Script is Finished

    We are looking for a way to detect when a user has finished a calc script before defragment. We have a windows batch file which defrags multiple times during the day. Before we defrag we want to make sure all users are done running calc scripts. After this we want our defrag to begin. Likewise if the system is busy we want the defrag to wait until the user is done.

    A simple way is to unload the application UNLOADAPP "SAMPLE"; or ALTER SYSTEM UNLOAD APPLICATION SAMPLE; in Maxl. If a calc is running or the database is busy in any way, then the unload will fail with an error message telling you who is still performing an action on the database. If the action is succesful, then the application is quiet. You then disable connections to the application immediately to prevent anyone logging in, then do your defragment. Unloading the application at the end will automatically re-enable connections.

  • Executing a calc script in MAXL

    "Heaven to murgatroid" this has completely defeated me today so all help will be gratefully accepted.
    I have an Essbase application (NPG3BK) with 4 databases (BMR, Detail, Main & Workforce)  - 3 are Planning Types and a fourth is added for reporting.
    I have 1 Essbase Calc script at application level - the calc script is called ExBinAll. It verifies perfectly and I can run it manually against any of the databases.
    I have a MAXL script to run the calculation against each of the databases under NPG3BK. The relevant piece of code is...
    alter system load application 'NPG3BK';
    execute calculation NPG3BK.'ExBinAll.csc' on database BMR;
    However when the batch runs I get this message...
    ERROR - 1012500 - The requested calc script [ExBinAll.csc] not found.
    Environment: Win2008 R2
    Essbase: 11.1.2.1.600
    Logged on to Win2008 with a server administrator ID.
    Logged into Essbase/MAXL with an Hyperion administrator ID.
    I have checked the application name and calc script name SO many times through EAS and Windows Explorer. It's there!!
    Can anyone out there resolve this for me?
    Many thanks for your help
    PW

    Celvin, many thanks - unfortunately that didn't work either..
    I've tried..
    execute calculation 'NPG3BK'.'ExBinAll' on database BMR;
    execute calculation 'NPG3BK'.'ExBinAll' on database 'BMR';
    execute calculation 'NPG3BK'.'ExBinAll.csc' on database BMR;
    execute calculation 'NPG3BK'.'ExBinAll.csc' on database 'BMR';  and ALL got the same error code 1012500
    So I decided to try store the calcscript ExBinAll under the database NPG3BK.BMR and run it with the following syntax ..
    execute calculation NPG3BK.BMR.'ExBinAll.csc';   gives      ERROR - 1012864 - Calculation script name [ExBinAll.csc] is longer than [8] characters.
    execute calculation NPG3BK.BMR.'ExBinAll';   gives      the original (1012500) error.
    execute calculation 'NPG3BK'.'BMR'.'TEST.csc';    gives      the original (1012500) error.  {ERROR - 1012500 - The requested calc script [TEST] not found.}
    Any other ideas from anyone?

  • Unable to execute the substitution variable in calc scripts in essbase 11.1

    Unable to execute the substitution variable in calc scripts in essbase 11.1.3
    FIX(&CURRVERSION,COLA)
    Unit=units*Listprice;
    dataexport "file" "," "E:\NEW.TXT";
    ENDFIX
    Error: 1200471 Error parsing formula for FIX STATEMENT (line 1): expression expected before [)]
    This is error it throws when executing the calculation script
    I wonder whether its a problem with substitution variable i want to know wat went wrong inside the fix statement
    I have created substitution variable use maxl
    Installed the essbase in custom manner and standlone mode nt register with the shared services ,
    Is this problem with the custom installation of essbase
    Regards
    shenna

    If you remove the substitution variable and replace it with the actual value (whatever that is), does the code work? That will tell you if the issue is around the substitution variable or not.
    John -- First you race Glenn, then you race me -- and you always win. :)
    Regards,
    Cameron Lackpour

  • Calc script for calculating current month data after loading

    Hi,
    I'm trying to write a script to do a calculation to all dimension after load current month data; it ran successfully but current month data is all zero; can someone tell me what i'm doing wrong?
    SET CACHE HIGH;
    SET UPDATECALC OFF;
    SET CALCPARALLEL 4;
    FIX (&CurMon, &CurYr)
    AGG (Sparse2, Sparse3, Sparse 4, Sparse 5, Sparse 6);
    ENDFIX
    Dense1 – Dynamic Calc
    Period: Dense – Dynamic Calc
    Year: Sparse – Dynamic Calc
    Sparse2 – Label Only
    Sparse3 – Label Only
    Sparse 4– Label Only
    Sparse5 – Label Only
    Sparse6 – Label Only
    Thanks!

    Natilie,
    If I understand you correctly, you are loading data, then clearing out the current month->current year, and then aggregating current month->current year? There isn't going to be any data there -- you've cleared it out in your second step.
    I think the order you want is:
    1) Clear out the current month->current year to be sure it's a good load
    2) Load the current month->current year
    3) Aggregate the current month->current year
    This could be done with a single Maxl that controls two calc scripts and one import database (clear, import, agg) or you could do it manually.
    The default calc is (generally) equivalent to CALC ALL using db properties (UPDATECALC, AGGMISSG, etc.). There shouldn't be practical difference between that and the AGG portion of your calc.
    I would again confirm that all of your data is at the lowest level, i.e., you can navigate to leaf level on all dimensions and pull a data value before you aggregate. Perhaps you are loading to upper level members and don't realize it. I often use the Excel add-in's Styles to tell me if I'm at the lowest level of a db or not.
    Regards,
    Cameron Lackpour

  • FDM batch loader script

    x
    Edited by: user2657915 on Apr 16, 2012 10:15 AM

    Yes, you can use the batch loader to execute a SQL integration Script that is assigned to a location for import. You would create a blank text document with the proper file naming convention for batch files as noted in the FDM administrator guide and then place the files in OpenBatch and execute the batch via script or the GUI in the workbench. It will go to this POV and execute the Integration Script assigned to the location.

  • Essbase error 1033, executing a calc script through HAL

    A daily HAL job executes a calc script that returned a 1033 error.
    Any ideas? Essbase 7.1.6, HAL 7.3 build 327
    "error code - 1033: Essbase Error, <full path with calc script name> at ...."

    Sorry, no answer yet.
    Our job that failed which runs about 6 times daily successfully ran on the next scheduled run with zero changes. Some sort of hiccup (unexplainable).

  • Batch Loader Command Execute Export Parameters() not in Documentation

    Hello,
    I'm trying to use the Batch Loader Command Execute Export Parameters() command to export my shared library into a text file and do not see the any detailed references in the epma doc, although the doc does mention Export. We're on 11.1.1.3.
    I tried to use something similar to the Import, but it is still not correct.
    Execute Import Parameters(importtype, profilename, filename,waitforcompletion) Values('flatfile', 'Comma', '.\AppFiles\CommaApp.ads','true');
    Has anyone any ideas on the required parameters to use? Many thanks.
    regards.
    Edited by: cg on Feb 29, 2012 6:14 AM

    John, thank you for your reply. Is there a way to automate the file generator to generate the ads file every night? Or by use of some other command?
    Also, Export is mentioned in the doc, but perhaps that was added but never implemented for this version.

  • Why does the calc script screen freezes after executing the script

    Hello Everyone:
    When a calc script gets executed, the calc Script in the ASS freezes even though the calc script has finished it´s execution. Does anybody knows why? How can i prevent these to happen?
    Hope someone could help me, thanks in advanced
    Best Regards

    if you execute the calc script in foreground, console will freezes and it will not allow any thing to do.
    Once script is completed, console will be freed.
    You can execute the calc script in back ground so that you can continue your work and you can track the progress in the sessions.

  • Execute Essbase Calc Scripts from FDM

    Hi,
    Can any of you let me know how to execute Essbase Calc Scripts from FDM, these Calc Scripts are on Essbase Server. Any help would be greatly appreciated.
    Thanks

    See the thread below:
    Re: FDM - Script

Maybe you are looking for