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.

Tags: Business Intelligence

Similar Questions

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

  • Export of the metadata of Essbase via the Calc Scripts

    Hi guys,.

    Here's my problem,

    We try to export essbase cube intersections in a flat file (so that it can be used by SUN)

    )

    We have developed a calc script to export an intersection to a flat file, but the flatfile is written only to the location of the essbase server.

    But we need this flat file to immerse in an another server (SUN Server), so what would you suggest is the best way to do this on a regular basis (monthly) and huge amounts of data.


    PS: Someone suggested me to use a windows batch file to move the flatfile, but I have no idea how to do that.


    Any help would be really appreciated...

    Thanks in advance
    Arun

    Metadata? You mean, right? DATAEXPORT is only going to write the numbers, not of dimensionality.

    I did deal with this issue, so - DATAEXPORT wrote only the box to Essbase. You can try pointing to mapped drives, but it has not worked for me.

    Why not put together a script MaxL who runs the calc script (standard stuff so far) and then either the caller script in cmd OS either copy it to another location (if on Windows, see COPY) or use the MaxL shell command to launch a shell of the operating system and make the copy?

    Another solution would be to set up a routine watcher file FTP'd the file off the drive, then did a deletion of the exported file. You may have to wait five minutes, but that shouldn't be a big problem in Informatica. In fact, I bet that informatica can do 99% of it.

    Finally, another approach would be to write that all at a table and just picking up here.<--This is="" probably="" the="" easiest="" and="" if="" you="" think="" about="" it,="" what="" informatica="" was="" meant="" for;="" no="" more="" messy="" files="" to="" worry="" about="" and="" it's="" sql="" all="" the="" way.="" i="" would="" do="" a="" truncate="" after="" it="" read="" the="" table="" as="" dataexport="" has="" a="" habit="" of="" concatenating="">

    Kind regards

    Cameron Lackpour

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

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

  • Is it possible to run the command script with user account administrator rights?

    Is it possible to run the command script with administrator user account rights means please tell me how to...

    I need to run it in windows 7 professional service pack 1.

    There are a few myths that won't go away, for example

    • You can perform administrative tasks when you are working from a command prompt.
    • A script (batch file, VBScript, PowerShell) gives you administrative rights.

    There is no substance to a myth. Your account has administrator privileges, or it does not. There is no backdoor.

  • Keyboard shortcut to run the last Script?

    Anyone know of a keyboard shortcut to run the last script that was executed? I'm editing an animation and wrote a script that writes code based on it, and I need a quick way to run it without the open file dialog box.

    Thank you!

    Method 1:

    You can assign shortcut keys to the first 20 scripts listed under the file > Scripts menu via the file «Adobe after effects 10.5 shortcuts» Just search for "ExecuteScript' in the shortcuts file find the section.

    Method 2:

    You can use ft_ToolBar which allows to launch scripts with the click of a button. You can also create a new button and just paste your script code directly in the window provided without having to create a jsx/jsxbin file.

  • My db Essbase corrupt when I complete the calc script why?

    Hi all

    I had the problem with essbase db... It is corrupting data when I closing all running calc script.
    So that whenever I m taking back for that...
    Please let me know how to avoid this... and why it is corrupt?
    Is something wrong with my Essbase?

    Kind regards
    Katia

    If by "corrupt" you mean that essbase breaks down and you can't restart the db so yes it's unusual and something is wrong with the environment. However, if you mean that the data is not the same as it was before you start the script, then no, there is nothing wrong. Essbase is not a restoration have this cancellation, the calc script processed until you killed it.

    Dave

  • How to identify files that may be deleted without jeprodizing the files needed to run the system?

    How to identify files that may be deleted without jeprodizing the files needed to run the system?

    If you have to ask, the answer is "Don't '.  Uninstall programs that you don't need through programs and features or add/remove programs.  Do not, under any circumstances, remove files unless you are absolutely sure you know what you delete first to 100%.

  • money more sunset "files needed to run the Planner missing or corrupted" then program encounters problem and closes. Downloaded multiple times on multiple computers

    money more sunset "files needed to run the Planner missing or corrupted" then program encounters problem and closes. Downloaded multiple times on multiple computers

    Hello

    I suggest you post the same question in Microsoft Technet forum for Microsoft Money Plus Sunset related issues. We have a dedicated team to help you with the problems of Microsoft Money Plus sunset.

    Microsoft Money:

    http://social.Microsoft.com/forums/is/category/money

    Hope this information is useful.

  • I need to run the accounting program MYOB 9 on my new laptop HP 64 bit with Vista Home OS.

    I need to run the accounting program MYOB 9 on my new laptop HP 64 bit with Vista Home OS.  Is there a download that allows me to run from MYOB and emulate windows XP?

    You must upgrade to Windows 7 Professional to run Windows XP Mode

    http://www.Microsoft.com/Windows/Virtual-PC/default.aspx

    You can try to see if it will run in Vista compatibility mode:

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-older-programs-run-in-this-version-of-Windows

  • Do I still need to run the Windows Firewall when I use Norton360?

    Do I still need to run the Windows Firewall when I use Norton360?

    Hello

     
    A firewall is software or hardware that checks information coming from the Internet or a network, then it blocks or allows it to pass through your computer, depending on your firewall settings.
    A firewall can help prevent hackers or malicious software (such as worms) to access your computer through a network or the Internet. A firewall can also help stop your computer from malware sent to other computers.
    A firewall is not the same thing as an antivirus program. To help protect your computer, you need a firewall and an antivirus and anti-malware program.

    Norton 360 from Symantec's all-in-one security service that protects your computer and your data against today's Internet threats.
     
    Norton 360 can be functioning as an antivirus, firewall, or offer according to your settings.
     
    We recommend that you only have an antivirus and a firewall on your computer, the choice of what antivirus or firewall is yours.
  • Run the PLSQL Script from Batch file

    I am trying to run a PL/SQL script in a batch file in sp1 Windows 7 Prof

    N ° 1) I wrote a simple PL/SQL script:

    --

    -The scope of variables

    --

    DECLARE

    v_sal number (7.2): = 50000;

    v_comm number (7.2): = v_sal *. 20;

    v_message varchar2 (100): = 'eligible for the commission;

    BEGIN

    declare

    v_sal number (7.2): = 50000;

    v_comm number (7.2): = 0;

    v_total_comp number (7.2): = v_sal + v_comm;

    Start

    v_message: = "not committed not" | v_message;

    dbms_output.put_line (' message of sub-block is ' | v_message);

    dbms_output.put_line (' subblock v_comm is ' | v_comm);

    end;

    v_message: = 'seller '. v_message;

    -dbms_output.put_line ('Main block v_total_comp' | v_total_comp); -Error: not visible in the main block

    dbms_output.put_line ('Main block v_comm' | v_comm);

    dbms_output.put_line (' main block message is ' | v_message);

    END;

    /

    Step 2) then I wrote a simple batch TstBatch.bat file

    sqlplus scott/tiger@orcl < PLSqlVarInputTst1.sql > > TstBatch.log

    Step 3) in the BACK of cmd, I tried to run TstBatch.bat

    C: > TstBatch.bat

    The log file tells me that I have connected to Oracle Database 11 g Enterprise Edition Release...

    Then a lot of SQL > SQL > SQL >... 26 times

    Procedue of PL/SQL completed successfully.

    Disconnected from Oracle database

    I also tried running the PLSQL script in SQLPlus:

    SQL: > @PLSqlVarInputTst1.sql

    Tell me the procedure completed successfully.

    QUESTION: So, where is the output of the PL/SQL script?

    Hello

    You must activate the output: Add the following line at the beginning of your PL/SQL script:

    SET SERVEROUT ON

    ...

  • Elements 4.0: run the postflight script fails

    I ALMOST built Elements 4.0 as root on Mac OS 10.5.6 successfully (CPU PPC G5).  Towards the end of construction, I see 'missing file' then 'cannot run the postflight script.

    Any ideas?  Thank you.

    http://forums.Adobe.com/community/photoshop_elements

  • need help to run the perl script invoking ESX ssh command power CLI

    I tried with the VCLI function call, but my perl script does not work... If I want to download my script for ESX (not ESxi) perl file, then run the command that will display the value in the directory/tmp, then pull the output file in/tmp local VC no matter what directory

    something like this article using plink.exe http://communities.VMware.com/message/1260100#1260100

    comm and I want to run ""iam_extract_global.pl perl - customer < customer name > - /tmp/xxxxxx.mef outfile " "


    so I need pul /tmp/xxxxx.mef to the local directory

    Try to place the string values in the first 3 lines in quotes.

    $User = "root".
    $Pswd = "xxxxx".
    $ESXname = "xxxxxxx".

Maybe you are looking for