Calc scripts in sequence

Hi all

We have requirment to run calc scripts in the order they are dependent. If we merge all the scripts in a script then due to dependence, the calculations do not or not giving not correct result.

Is there a way to make the calculation scripts are setup in order in the script of a calculation and a single Script provides details for the two Script and so on. We do not want to use business rules because of the given assignment of security which will be very tedious work.

Thank you and best regards,
Konrad.

Sequences and business rules would be the correct procedure to use with planning.

But I don't see how running separate calc script is going to be different that implemented a calc script, which does not any sense.

If you want to run calc scripts in order then you could batch usage maxl.

I do not know what information you want to pass between calc script but you can use substitution variables, as that be used in a script.

See you soon

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

Tags: Business Intelligence

Similar Questions

  • Need to run the Calc Script in sequence in MAXL

    Hello

    I need a idea how to run calc in sequence through Maxl scripts. My requirement is to run calc script loads after the end of the last. I try to make the method below, but some how its not working. I'd appreciate any help.

    Thank you

    login password admin on ServerName.

    spool to 'K:\test\MXLTest.log ';

    / * Calculate * /.

    run the calculation App.db.Test;

    function SIERREUR 'error ';

    run the calculation App.db.Test2;

    set the label 'error ';

    spool off;

    disconnection;

    "exit";

    Seems iferror works only with the batch/shell script. I was trying to run EAS.

  • Update a UDA at a member of the main lines of the Calc script?

    Happy new year everyone!

    Is it possible to update a UDA at a member of the main lines of the Calc script? There is a custom for that function?

    We want to check the data, and then update UDA based on what is our data.

    Thank you.

    Not that I know, and it is not possible to write one, since you probably can't restructure with the running calculation (chickens and eggs).

    More likely, you will need to do a multi-step process; export the members that you want to set up a file via DATAEXPORT conditions or report designer, and then use this output to feed in an accumulation of dimension with an appropriate load rule.

    Or write a Java API to fully customized program.

    I'm also curious about the driving condition, as it is a rather unusual request.

  • Manager where do Calc scripts are stored?

    Hello

    I had a planning application that I want to rename.

    So, after you copy the old to the new, I deleted the old,

    Unfortunately, I forgot to save my work at calc Manager.

    I realized that after I get an error in the workspace

    Calc Manager: failed to process the request.

    The session is not authenticated.

    But when I go to GestionnaireCalc, the application is missing.

    Can you help me looking for my Bishop calc scripts where they still exist?


    Thank you

    Nikos

    Manager of calculation rules are stored in the table CALCMGRRULES of the RDM and BODY field if the type is a BLOB.

    If the rules have been made to the planning application, they will be also in the HSP_CALC_MGR_RULES table and field BODY which will take place in XML format.

    See you soon

    John

  • If I run the calc script to aggregate a BSO cube, it blocks and release each block in a few seconds?

    Hello

    If I run the calc script to aggregate a BSO cube, it blocks and release each block in a few seconds? Or is it keep held locked blocks even after aggregation for this block is over?

    For example if I correct sparse dimensions Forecast, FY15, dec.  and my accounts dimension is only dense, after calc has my senior level members in the accounts, it it will issue after updating (i.e. in fractions of seconds) or is agg keep it held in a lock?

    I ask because I want to run scripts tot., but there is the update of our cube users.  I never had a problem to start agg, while users are updating.  But maybe I am lucky.  If a user updates a closed block, they will receive an error message that I think.  They may try to update again after a few seconds, I hope.

    Thank you.

    Locking behavior for BSO Essbase is described in the database administrator's Guide: http://docs.oracle.com/cd/E57185_01/epm.1112/essbase_db/dstinteg.html

    It is certainly theoretically possible that a user can obtain a lock because of a calc, although I can't say I saw him be a problem in real-world applications (perhaps because access uncommitted is the default).

  • Calc scripts MDX on ASO is 20 x slower than calc on OSB?

    Is it true that calc scripts MDX on ASO's 20 x slower than calc on OSB?

    Our consultants Essbase dear wrote in their e-mail and training documents. I've never heard of this.

    Built a cube BSO staging area, loads all data source BSO. Run BSO Calc staging cube before exporting the level zero to ASO.  Is this crazy?

    Thank you.

    STOP THINKING LOT

    I agree with most of the responses seen above and actually works to understand that the ASO procedural process Calc uses during execution of their work.  This will help us all understand what kind of scripts will be quick and that are frighteningly slow.

    But, my first suggestion seeing most of the manuscripts I am presented with is: why are you using a calc script at all?  Calc scripts are often used when there is no higher level subtotals.  Well, they are always available to ASO.  The way I see it is calc scripts are really necessary when new data of level 0 must be generated and rolled up.  Or in the simple case of copies of data.

    Currency conversion is where they are most often used.  I can't convert each of the 5mm values that contribute to a higher level of $100 mm in order to convert $100 to 91,882,223 euros.  And, often copies of data are not really necessary, especially "real."  Conceivably contours where the plans and forecasts are dynamically seeded with latest figures real or actual same prerequisite.

    So look hard at your old practices first and Rob it of your scripts, anything that can be written as a successful formula of Member.  If nothing else the code remaining will most likely run faster.

    Note: Calc script processing involves the internal tree in which each dat file is organized.  I encourage anyone with an overview of this structure to communicate with me and maybe we can share observations.

  • Dataexport to Essbase Calc script format

    Hello

    We try to write a calc script to export the data from the BSO cube to flat file. We want all the dimensions (currents and Sparse) online and the data in the column. Currently, we have tried all the different options of DataExport but we continue Dense members in columns. Is it possible to get the flat file in the following format?

    Outside dimensions:

    (Dense) account

    (Dense) period

    Company (rare)

    Year (rare)

    File format: (order of dimension is not important for us)

    Company, year, time, account, given

    K1, FY15, Oct, sales, 123

    Please suggest. Appreciate all the help.

    Thank you

    The only way I know to do would be to add a single dense dimension member (let's call it data) can make your dataexportcolumnheader if you can not change your existing cube, and then make a copy of it, add the dimension to export for the first cube in column format and use a load to load into the second cube rule. then you can do the dataexport

  • Essbase calc script to determine the number of occurrence

    Hello

    is it possible within a calc script to determine the number of occurrence of a value in the account dimension?

    I have an account called ranks which can contain any value between 1 and 10.  I would like to know how many times each value is repeated for a specific cost center.  It's in a database of planning BSO.

    Thanks in advance for your contributions...

    CL

    This isn't the typical calculation you would do in an OLAP architecture, but yes it is certainly possible.

    you will need to create 10 accounts such as occurrence_of_1, occurrence_of_2 etc.

    Then you increment them according to the value of the 5th year.

    Don't forget to put in your calculation!

  • BSO - Calc Script - improve an addition

    Hello

    I have a little problem with my calc script. I want a dynamic script with variables and not explaining each step.

    I want to calculate the EURO currency values.

    Fix ("March")

    'Euro')

    IF (@ISUDA ("Accounts", "AR"))

    IF (@ISUDA ("Entity", "heart")) 'Euro ' is' EUR '.

    ElseIf (@ISUDA ("Entity", "cAED")) 'Euro' = ("AED"-> "January", "AED"-> "February" + "AED"-> "Market") * "AED"-> "Average_Rate"-("euros"-> "Janvier" + "Euro"->"février");

    I want to make the variables of the month as AED-> 'January': 'currmonth'.

    I tried that, but it did not work.

    How to calculate is how: periodical EUR = (YTD(April-LC)*April-FX-Rate)-YTD(March-EUR)

    Can some help me with a Board?

    Thank you very much

    Ben

    Look in the function @SUMRANGE in the Ref of the Essbase Tech, I think this should do what you ask for.

    Oracle Essbase Technical Reference

    Robert

  • Run Calc Script using MaxL server location

    Hello!!

    I wonder if anyone has tried running Calc script stored on the server (not in the app folder) using MaxL?

    My research on run calculation led to run scripts associated to a particular application, but not on executing a script from a common repository such as the location of the server between multiple applications.

    Any help is greatly appreciated.

    It is sometimes useful, in my case, I had a unique scenario where I had 10 cubes

    Cube 1 essbase process information and then send to the DATA STORE, which then runs a set of calc (some detailed data movement)

    Cube 2 then consumes these data and processes to Cube 10.

    All scripts used in Essbase is the same. However, we had to keep all applications and maintenance was a nightmare. This RUNCALC scenario helps a lot.

    I had to create a dummy app/db to store all Calc and maintenance will be done on this one and a bat script will move those to the respective cubes. I can identify at the request

    Concerning

    Celvin Kattookaran

  • Calc Script Editor

    Hello

    Any knows there at - it a calc script editor. We can create via EAS, but it is too limited.

    Thank you

    Shahid

    Yes, Notepad ++ can be used.

    Check this: http://www.orahyplabs.com/2011/06/essbase-language-for-notepad.html

    Kind regards

    Santy

  • Facing the question in calc script while trip data for the current year to the previous year

    Hi all

    Need your serious help in my calc script.

    I am writing a calc script to transfer data from order book of FY15 Q1 to Q4 FY14 here is the problem in my script. If spin this script to copy the same year, it works fine but when trying to load between two different years, it does not work. could someone help me please. where miss me the logic. Thanks for the help in advance.

    Here's the script:

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    SET AGGMISSG

    DIFFICULTY (@List ("real GL", "Real ML", "ACT", & ActualLoadYrBklg))

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di) =.

    -1 * (("Q1"-> "starting Backlog",-1,@Relative("Years",0)) @Prior - ' count backward (Non - di) ");

    "DENTE change overdue =.

    -1 * (@Prior ("Q1"-> "Cost",-1, @Relative("Years",0))-"Cost of rear" rear);

    Else if (@IsMbr ("Q1": "Q3"))

    "Dec / (Inc) order book ' =-1 * (@Prior ('Rear start',-1, @Relative("YearTotal",0))-" starting back (Non - di) "");

    'Change of GEAR wheels in suffering' =-1 * (@Prior ("backward Cost",-1,@Relative("YearTotal",0)) - "money back");

    endif ;)

    endfix

    SM.

    My first question is what is the order of members in your dimension years and quarter the level low your dimension of periods? Secondly, what dimensions are rare and dense (can you tell me which members in the calc are in dense and sparse dimensions)

    Third, you cite the specific years FY15 and FY14, I suppose that & ActYearBklg is FY15 assuming this is correct, I would add a substitution variable for & PriorYrBklg with FY14 inside (if I'm back, and then modify the variables) for clarity, I'm going to hardcode the values in the Calc. It also assumes years is sparse

    You can try this

    FIX ("GL 'real 'real ML", "ACT", "FY15") / * you need not @list * /.

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di)"-> "FY14 =.

    -1 * ("Q1'-> 'backlog begins' - 'Start rear (Non - di)'->"FY14");

    "DENTE change orders"-> "FY14 =.

    -1 * ("Q1"-> "Of back - cost"Back cost"-> FY14");

    Else if (@IsMbr ("Q1": "Q3"))

    ("Dec / (Inc) order book"-> "FY14' =-1 * beginning backlog->"FY14'-'Begins the backlog (Non - di)');

    'Change of CMV in the order book "->" FY14' =-1 * ('Back cost'-'Back cost'-> "FY14");

    endif ;)

    endfix

    The years may be replaced by the subvars

  • Several simultaneous calc scripts?

    Hi all:

    Everyone figured out to launch multiple simultaneous calc scripts, for example using MaxL?

    We have an application of multi-cube wherein BSO cube "A" performs calculations and aggregations and then exports data to the cube BSO 'B' to learn more (heavy expense allowances) treatment. Results in cube 'B' are then exported and loaded into a cube ASO, and then we CLEARBLOCK SUPERIOR and restructuring BSO cube "A", he prepares for the next round, which could be immediate, but for another year (each "run" is performed on a single year and sometimes change us the methods of distribution and re - run several years; other times we just the current year).

    I would like if possible perform the CLEARBLOCK cube 'A' while cube 'B' deals with allowances. Any thoughts on how to achieve this?

    Thank you!

    Hello

    Why not put separate tasks in a batch file to run separately?

    1 batch file-> perform the calculation on A Cube

    2 batch file-> export data Cube B & perform Heavy Duty allowances on Cube B

    Batch file 3-> results are exported to a Cube ASO

    4-> CLEARBLOCK controls and restructuring on A file

    Now that they are distinct from batch files, you can run your first batch file 4 while 2 Batch file runs. Just make sure you have one or the variables assigned in your calc script to pick up the value of the current year

    I hope this helps!

    Thank you

    (Please check this post useful or appropriate if this can help you)

  • Help with pointing to the ATTRIBUTES - Calc Script

    Hi all

    I have a question about pointing to the attributes in the calc script:

    I want to calculate members (level 0) associated with the attribute 'A', but their parent attribute must be tied to the attribute 'B '.

    So if my Sun structure looks like:

    LVL 1: mbr 1 (ATTR = 'B')

    LVL 0: mbr 2 (ATTR = 'A')

    0:MBR lvl 3 (ATTR = 'C')

    lvl1: mbr 4 (ATTR = "D")

    0:MBR lvl 5 (ATTR = 'A')

    0:MBR lvl 6 (ATTR = 'A')

    According to the above example, the calculated member list should be: "mbr 2.

    I don't know how to do in my script to the PARENT of the CURRMBR its attribute is equal to "B."

    The problem is oriented to the PARENT attribute with the IF statement while you run level 0.

    I also tried to FIX it, but it was not effective, you can not write FIX (@CHILDREN (@ATTRIBUTE ('B'))).

    I'll be happy if someone could share their ideas,

    Thank you

    Really?  Documentation (which I corrected not always, I admit) indicates that the parameter mbrList can be 'a comma-delimited list of members grouped together using @LIST or set function member (for example @DESCENDANTS) that returns a list of members.'.

    I created an additional attribute of 'MarketSize' with 'GRL' and 'Sml' members in Sample.Basic, then labeled 'East' and 'Central' as "LRG" and found that it works very well:

    DIFFICULTY (@EXPAND ("@CHILDREN", @ATTRIBUTE ("Lrg")))

    "Sales" = 999;

    ENDFIX

  • How to get a list with calc scripts and forms from a planning application?

    Hi gurus,

    Is it possible, using SQL charly or something else, to get a list with the data forms and its calc scripts associated with the place of open one by one and their Visual verification?

    Thanks in advance

    Try looking at HSP_FORM, HSP_FORM_CALCS, HSP_OBJECT

    See you soon

    John

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

Maybe you are looking for

  • 6 s iPhone download new software error message

    Today, I downloaded the upgrade of the iOS 10 software and sync with iPhone 6s received an error message. Now the phone is stuck on the peak of the cable that need to sync with iTunes. Hit restore, update, etc. and always stuck with peak on the phone

  • GarageBand > application does not

    So I worked on a project in garageband, registered and then do other things. Today, I tried to work on it again and to my frustration garageband opens more. It does nothing: -When clicking on the icon, it starts to jump and that after a second litera

  • iPods Don't not grateful, Windows 10 "dysfunction."

    Hi all, I recently bought a new laptop, imported from my old iTunes library - it all went fine so far. However, to connect my iPod Nano 3rd generation and iPod Nano 6th generation, my computer says that the software has malfunctioned and that it is u

  • The new version of Firefox 20 is compatible with the Norton Toolbar?

    I just received notice this morning on this new version of Firefox, but I hesitate to install until I know that my Norton toolbar will work. Can you give us some information? Thank you!

  • records of facilities requested when the computer is on - is originally without disks

    Hello my parents computer is completely broke down. additional hours it's on there now only ask for records of the facilities. the computer never came with any disks and the recovery discs have never made. the computer is a compaq pressario sr5601uk