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

Tags: Business Intelligence

Similar Questions

  • batch file to run the script to report

    Hello

    How to create a batch file to call my script essbase report.

    Thank you!

    Hello

    you create a MaxL script that calls the report script. When it does not, you create a batch file that launches the MaxL script.

    MaxL example: export sample.basic database using fichier_journal '' $ARBORPATH/App/Sample/Basic/asym.rep' ' of data_file ' home/month2.rpt ";

    The batch file called essmsh.

    Kind regards

    Philip Hulsebosch

  • Call the batch file and not the shell script using measures of the event

    Can I use EVENTACTIONS at the door of gold like

    eventactions (SHELL, /path-to-batch-file/test1.bat)

    will this work? I am on a windows machine, so I need to run a batch file and not a shell script

    In GGSCI, you can shell OUT to the BONE and call a command/executable file.

    For example on Windows:

    GGSCI (WIN2003) 2 > shell dir

    Volume in drive C has no label.

    Volume serial number is 8CCC-9E58

    Directory of C:\ggs

    18/08/2012 07:23

    .

    18/08/2012 07:23

    ...

    2010-10-15 06:37 bcpfmt.tpl 426

    2010-10-15 06:37 bcrypt.txt 1 725

    22/04/2011 03:41 2 560 category.dll

    05/11/2011 10:43

    cfg

    2010-10-15 07:15 739 chkpt_ora_create.sql

    ...

    What were the results when you tried this in an EVENTACTIONS clause?

  • 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

    ...

  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

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

  • How to code a batch file to force the reboot of the window?

    I used to run following code on batch file to restart the window, but if window is blocked, it does not.

    does anyone have any suggestions on any more powerful coding force restart the window if window is blocked?

    Thanks in advance for your suggestions

    %windir%\System32\shutdown.exe - r

    You can try adding the-f (force) option to your shutdown command:
    %windir%\System32\shutdown.exe - r f

    HTH,
    JW

  • batch file to unzip the files in the 64 bit version of windows vista Home premium

    Hello

    I'm looking to write a batch file to decompress the files. I'm working on a windows vista Home premium 64-bit. any help will be really wonderful.thanx .pdp2907

    Please repost in the scripts Forum: http://social.technet.microsoft.com/Forums/en/ITCG/threads/ where script experts will be happy to help you.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • batch file to copy the file with the extension of the date - does not work in Windows 7

    Under XP, I got a batch file to copy files daily and rename them with the date, as:

    Project_Tracker_Copy.mdb

    TO

    Project_Tracker_Copy_2012_01_17.mdb - it would make the current format YYYY_MM_DD day

    next day, through Planner, he would run the batch and I'd end up with

    Project_Tracker_Copy_2012_01_18

    Here is the key part of the DOS command:

    Ren S:\archive_2012\Project_Tracker_Copy.mdb Project_Tracker_Copy_%date:~6,4%_%date:~0,2%_%date:~3,2%.mdb

    A batch file that runs hidden in Task Scheduler. [Task Scheduler starts the vbs & the vbs starts the batch file.

    This example shows how run the batch BackupCoreFiles.bat - the only point the vbs to packaging is so he can run hidden like Task Scheduler it would be otherwise in the default command window & that can be a distraction, if you work on something else at the time.

    Set WshShell = CreateObject ("WScript.Shell")
    Chr (34) WshShell.Run & "C:\Program Files (x 86) \Backup" & Chr (34), 0
    Set WshShell = Nothing

    The well-informed person who first posted this code was Ramesh Srinivasan how to run . BAT files invisible

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

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

  • 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

  • How can I save xml file n, run the xml file? Please help me

    How can I save xml file n, run the xml file? Please help me

    Hello

    The question you have posted will be well suited in the MSDN forum. Click on the link below.

    http://social.msdn.Microsoft.com/forums/en/categories/

    In the meantime, I suggest you to return the item mentioned below.

    How to use XML Notepad to create an XML document

    http://support.Microsoft.com/kb/296560

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

  • How to use batch files to deliver the payload of the ODC to AAU?

    Hi all.
    We are trying to do along this week and, so far, we could not understand how to use the batch files containing the option on the ODC and validate the output files to the University Complutense of MADRID.
    So, these are our specifications:

    VM 1
    ODC - 10 gR 3
    OS - Windows XP 32-bit SP3
    DB - Oracle DB 11.2

    VM 2
    No ODC
    UCM 11.1.1.6
    OS - Enterprise Linux Enterprise Linux Server version 5.5 (Carthage)

    We have opened a ticket with the Oracle Support for how we should do it. The number is 3-6108348211 SR.
    Let me try to explain what we want to do:
    1. we have a batch file with all the metadata for many files of UCM
    2. we want to use this ODC file, so the application converts the images and they are committed to the Complutense University of MADRID
    3. we should see all these files and their metadata, thumbnails and content associated with the Complutense University of MADRID
    4. it is an example of batch file we want to send to ODC:

    --------------------------------------------------
    LocalData @Properties
    IdcService = CHECKIN_UNIVERSAL
    dRevLabel = 1
    primaryFile=/tra/Relatorio_UHPF-03-04-2008-M-RL-EA.pdf
    dDocName = TRA_33
    dDocTitle=UHPF-03-04-2008-M-RL-EA
    dSecurityGroup = MAM_TRA
    dDocType = Document
    dDocAuthor = luis .neotropical
    dInDate = 14/05/08
    xC_CLASSIFICACAO = EA - Educação Ambiental
    xC_DATA = 01/04/08
    xC_DATAVALIDADE = 30/04/08
    xC_LOCALIZACAOFISICA = N/A
    xC_USUARIO_DEP = LUIS FERNANDO DA CAMARA
    xC_TIPO = RL - Relatório
    xC_USINA = UHPF - MACHINING HIDRELETRICA PASSO FUNDO
    xC_FICHA = MAM - environmental reports
    xC_IDDOCMAN = TRADocID = 157
    xC_IDANEXODOCMAN = TRAFileID = 33
    xC_DESTINOINICIAL = Tractebel
    xC_ORIGEM = Neotropical
    xC_FORMATODOCUMENTO = digital
    xC_GENERODOCUMENTO =
    xC_DOCPRINCIPAL = Sim
    @end
    < < NEM > >
    -----------------------------------------------------

    5 so, when we use this command on the ODC file, the file (or image) is converted, all metadata attached and then sent to the Complutense University of MADRID.

    But we do not know how to make the link between the ODC and UCM. The Oracle Support says that it is necessary to make some adjustments. In the books I couldn't find info on how to do, just generic information or the use of the ODC.
    Is there a way (without personalization) to do? Can someone give us a step by step guide?

    Thanks for any help and advice.

    Fernando

    It doesn't really have much point which is good to UCM to ODC, given that the ODC is really an indexing tool to get content in Complutense University of MADRID and capture. Once the content is in the Complutense University of MADRID, it should be at its final location.

    Batch files are the property of the University Complutense of MADRID and have no meaning to the ODC. Import of the ODC server has the ability to read the meta in a list, which is similar, but not a
    "Batch UCM file.

    You can have IBR convert files directly in the University Complutense of MADRID, trying to use ODC to convert is redundant.

    ODC was out of the configuration of the box with the AAU.

    For this question: "but we do not know how to make the link between the ODC and UCM.»

    The documentation covers all this very well. what page of the documentation is misleading or causing problem you?

    The guide step by step would be the documentation of the ODC.

    -ryan

Maybe you are looking for

  • HP Officejet 6500 a more impossible to connect to the server

    My HP Officejet 6500 a more printer was connected to my wireless network and was attached to the ePrint service; and I had an email address to send prints to my printer. But today, when I go to the ePrint, it shows that my printer is NOT connected to

  • Black of saving scans on a D110a

    Like many here, with the Mavericks, I can scan using the software just fine HP and see perfectly analysis.  However, when I try to save the scan, it is saved as a black page with horizontal white lines.  All the various messages about this problem ar

  • LAPAC1200

    Install the connected to the Ubee cable modem Access Point. During installation, I was on a different wifi network that I've had zero. I am connected to the AP at speeds of HQ and all right but I can't access the web interface of the AP. I can ping.

  • When I try to delete an element of images/documents, etc, it is moved to the Recycle Bin ok but the little window recycling rest and cannot be canceled

    original title: Please help me. When I try to delete an element of images/documents, etc, it is moved to the Recycle Bin ok but the little window recycling rest and cannot be cancelled by the task handle. If I open 'my computer' and start typing in t

  • . Cod download from a server

    Hi all I finally finished my project and now want to find a way to distribute it. I noticed that google has a way to download google maps directly on the phone via mobile Web site. My question is: How did do? Is it that easy to provide a link to the