MaxL

Hello

Two questions MaxL.

1; You can run MaxL against a non main, pre-staged at level (7) Essbase server - if yes, what is the syntax to treat the database on the remote server?

2; You can use MaxL to remove a physical file?

for example I export data, import data, I now want to delete the data file?

Thanks for your comments,

Robert.

You will need to connect to the database, and then run what you need to do newspaper then disconnection then in the other essbase server, also remember that the export will be local to the essbase server.

See you soon

John

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

Tags: Business Intelligence

Similar Questions

  • MAXL: Error when you use the runtimesubvar variable in the function 'run the calculation '.

    Hello everyone,

    I am trying to use a variable ($MyScenario) as a runtimesubvar for a calculation script.

    This excerpt from my script works perfectly (without variables):

    run the calculation "MyApp". "MyPlantype'. '" MyCalcscript' with runtimesubvars ' MyRTSV = 'Budget '. ' ;

    The following with variable does not work:

    The value MyScenario = "Budget";

    echo $MyScenario;

    run the calculationn 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars ' MyRTSV = $MyScenario; ' ;


    It is the output:

    Budget (<-$MyScenario echo works!)

    MAXL > run the calculation 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars 'MyRTSV = $MyScenario;';

    ERROR - 1012150 - environment variable [MyScenario] does not exist...

    I also tried putting $MyScenario between quotation marks simple '$MyScenario', which seems to work better but leading to a different error:

    Budget

    MAXL > run the calculation 'MyApp'.' MyPlantype'. 'MyCalcscript' with runtimesubvars ' MyRTSV = 'Budget';

    ERROR - syntax error 1242021-1 ['Budget'].

    What Miss me?

    Thanks in advance,

    Fadel

    Have you tried to use double quotes around the entire string of RTSV? Apostrophes are cutting the expansion of variables in MaxL. I think the idea is at the exit of the second snippet - $MyScenario is passed through the intact calculation and then script (MIS-) interpreted as an environment variable.

  • MAXL script

    Hello

    Please nay one can me the maxl script

    We need display the filter with associated groups

    what filter is available for what group

    Thanks in advance


    Have you tried - display privilege

    See you soon

    John

  • MAxl query

    In Essbase 11,1,2.3 version how to identify the filter that has been assigned to which group through commands maxl

    It is the privilege of the display.

    In particular "show the Group privilege X" or "display the Group privilege all the»

    You then to watch just the lines that indicate fliter access; There is no way to have the filter MaxL (ha ha) for you.

  • Passage of the maxl script batch file value.

    Hi gurus,

    I want the user to select the scenario he wants to clear the data for a specific intersection in a cube of ASO for running batch file. Files and newspapers is as below

    Batch file:

    ECHO please select a scenario:

    ECHO A. actuals

    B. Budget echo

    choice/m C:AB '-> > enter a letter for the scenario you want to delete: "%1 '"

    IF ERRORLEVEL is 1 Set ScenarioName = law

    IF ERRORLEVEL == 2 Set ScenarioName = bud

    E:\Oracle\Middleware\user_projects\epmsystem3\EssbaseServer\essbaseserver1\bin\startMaxl.bat "C:\Users\TCleardata2.mxl" % ScenarioName %

    MaxL file:

    spool to 'C:\Users\Cleardatalog.txt ';

    / * Value Variables * /.

    Set vScenarioName = $1;

    Echo script: "$vScenarioName";

    connection username pwd on "IP:1423 Server";

    / * Erase data * /.

    ALTER database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;

    echo * clear full *;

    disconnection;

    spool off;

    Log file:

    Scenario: law

    MAXL > connection username pwd on "IP:1423 Server";

    OK/INFO - 1051034 - user [username@pqr] connection.

    OK/INFO - 1241001 - connected to Essbase.

    *****************************************************************************

    MAXL > alter database abc.abc clear data in the region ' {("$1", Final, FY15, P2, ACC_1011640)}' physical;

    ERROR - 1260052 - syntax error in a MDX query on line 1 to token entry ' "$1".

    *****************************************************************************

    Full Claire *.

    MAXL > disconnect;

    Username is disconnected

    ___________________________________________________________________________________-

    in the MAXL if I write: law instead of ' $1 ' it works fine, but I can't take the user input, it is question of syntax?

    Below the command works fine:
    ALTER database abc.abc clear data in the region '{(law, Final, FY15, P2, ACC_1011640)}' physical;

    Can someone please let me know what I'm doing wrong here?

    Thank you

    RN

    I don't think that (alone) allows in this case - the problem is that the single quotes around the specification of the whole region removes extension variable (see Variables).

    Double quotes lose about $1, but also replace the single quotes around the specification of the entire region with quotes, i.e.:

    ALTER database abc.abc clear data in the region '{($1, Final, FY15, ACC_1011640, P2)}' physical;

  • Is there a way to erase the data partially in a cube BSO using Maxl

    There is a BSO cube for which I have a script that deletes all data using MAXL characteristic data reset. Now we want to delete only data for a given year, any ideas on what the best approach would be to use MAXL? Just to clarify, it is also script which is scheduled to run every day.

    I know that we have the clear data in the "region" for ASO cubes, but is there something similar for the BSO?

    Appreciate any help

    You can use the third method on the examples above and do the math online

    run the calculation

    "FIX ('2015').

    CLEARBLOCK ALL;

    ENDFIX;'

    on Sample.basic;

    avoids the need to create a calculation script

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

  • Is there a language such as maxl to Essbase for Essbase Analytics link to HFM (EAL)?


    Hello together,

    I work with hfm, eal, and Essbase.

    Technical description:

    in hfm application: hfm_app

    in Essbase application: Essbase_app

    EAL-Bridge: TEST_B_STREAM

    The process is to replicate data from hfm to essbase.

    The consultant have implemented a process planned, which automatically retrieves the EAL data for transport.

    But I did not understand everything. :-(

    So my question is:

    How can I communicate with eal automatically without using the Essbase administration console?

    I am looking something like maxl, which I use for Essbase.

    I want to stop and start the bridge by script (like on my screenshot).

    Anyone has any experience with EAL?

    I found in the forum almost nothing.

    Thank you for your support.

    Benjamin

    When some looking for the same thing as me. Oracle has an API-list of major important actions in the EAL.

    Thanks for the Oracle to support them to send me the files.

  • Error loading data ASO loading it via Maxl

    Hi team,

    I have a huge data file and I am trying to load it in cube ASO. I did manually with the loading rules file. To automate the same, I wrote a maxl as below and get error like "Server queries will fail with the error code [1003086].

    Error unexpected essbase 1013295 '.»

    MAXL Query:

    change the 'app' database.' Cube' initialize load_buffer with buffer_id 1; Statement executed successfully

    import the "app" database.' Cube' data_file Server data ' / home/hypadmin/Oracle/Middleware/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/abc/abccube/Dataload.tx ' using Server rules_file 'load.rul' to load_buffer with buffer_id 1 error write to ' / home/hypadmin/Oracle/Middleware/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/abc/abccube/exp_16thAug.err ';

    "Queries to the server fails with error code [1003086].

    "Error unexpected essbase 1013295.

    import the database 'app'.' Cube' load_buffer with buffer_id data 1;  Statement executed successfully.


    Increasingly, I have another request.


    ASO, can I use the same OSI query to load the data as below without use of buffer.


    import the database 'app'.' Cube' database server of data_file ' / home/hypadmin/Oracle/Middleware/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/abc/abccube/Dataload.txt ' using the rules_file server 'Load.rul' error writing to ' / home/hypadmin/Oracle/Middleware/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/abc/abccube/exp_16thAug.err ';


    Thanks in advance





    Ah, as you had indicated the full path of the data file, I thought earlier that you run on the Essbase server. That's why I asked to omit the keyword "server."

    The right way to do it, if the execution of script on the local computer:

    (1) copy the data to the local computer and talk about the path of the script. In this case you don't need to use the keyword "server."

    (2) use the keyword 'server' and not to mention all the way, just the file name. I'm a little rusty on this point, because I have not used this option in ages, but I think that the file must be in the database directory (which is what you have), the directory of the application (abc), or under the ARBORPATH (.../essbaseserver1/app/)

    Andy

  • Annex Essbase Studio to the Unix server - can previously enter us command in the Maxl Shell deploy?

    Hello

    I have essbase studio, where cubes are deployed manually on a regular basis to the EAS. Now, we intend to automate it, and our Essbase Studio and Essbase sitting on UNIX. I know that we can call the 'startMAXL.sh' of UNIX shell, but I was wondering, if I automate that, I pre-home/pre-store can do the command deploy somewhere in the script that calls startMAXL.sh and runs this command?

    My new shell script is:

    #! / bin/sh

    echo "the sript is about to invoke an another MAXL shell"

    pathToShell = ' / dataobi/.../bin/ '.

    chmod a + x $pathToShell "startMAXL.sh"

    SH $pathToShell "startMAXL.sh"

    When I run this script, it takes directly to the MAXL > tab and waits for the deploy command to enter. But instead, can he take the deploy command directly starting from somewhere and run it automatically?

    Please help me.

    Thank you

    Gibot.

    You can save the command deploy the Deployment Wizard (or create it manually), then in your shell script that calls startMaxL.sh to add the path and name of your file MaxL after him.

  • Question MAXL batch

    Hi all

    I have a batch which essentially provides a MAXL script to perform the calculation.

    Before and after the calculation, batch processing triggers a sending email notification.

    You wonder if it's a matter of 'startmaxl'?

    It was working fine, but now, after the 11.1.2.3, this is what happens:

    He sends notification of BEGINNING, then he runs the MAXL, however, after the completion of MAXL, it won't at the third stage, which means that it totally disconnects after running MAXL.

    Here is an example of syntax:

    Batch file is:

    SETLOCAL

    ECHO ------------------------------------------------------------------------------------------- >> %mylog%

    ECHO Start Date-time: % DATE TIME %%d % > > % mylog

    Mail ECHO sending Job Start > > mylog %

    start e:\scripts\SendMail.vbs %ComputerName%@mycompany.com 0 ' notification of beginning: JobName % "" start time: % DATE % % of the TIME, command: % 0, Script: myscript % " ".

    ECHO running JobName % > > % mylog

    StartMaxl % of myscript

    ECHO sending Job finishing enamel > > mylog %

    start e:\scripts\SendMail.vbs %ComputerName%@mycompany.com 0 ' notification of beginning: JobName % "" end time: % DATE % % of the TIME, command: % 0, Script: myscript % " ".

    ECHO End Date-time: % DATE TIME %%d % > > % mylog

    ECHO ------------------------------------------------------------------------------------------- >> %mylog%

    ENDLOCAL

    The content of the MAXL is as follows:

    the LOGFILE=scripts$\\Esslogs\\Agg.log value;

    spool to '\\$COMPUTERNAME\\$LOGFILE ';

    login password admin on $COMPUTERNAME;

    run the calculation sampleApp.sampleDB.AGGAll;

    disconnection;

    spool off;

    "exit";

    I think you need:

    CALL StartMaxl % myscript

    You are invoking one script (StartMaxL.bat) on the other, rather than calling a program (essmsh) as you used to.  If you do not CALL the first script ends when the second begins.

  • outline of export to xml_file... of EAS-&gt; editor MaxL, where is the export file

    Hello

    version 11.1.2.3.x

    EAS is called from IE via the valid url and opens without error.

    When I run an EAS (MaxL editor) extracted xml schema there are errors.

    for example, as shown in the documentary

    https://docs.Oracle.com/CD/E17236_01/EPM.1112/esb_tech_ref/frameset.htm?maxl_expotl.html

    -> export contour sample.basic all dimensions to xml_file 'c:/temp/basic.xml ';

    The error says cannot create objekt. However, the given path c:/temp is on my customer box.

    When I run the same shell maxl, it works like a charm... the otl-xml-export file is created on my machine in the given directory.

    Only when I run the command in the EAS WITHOUT any path as "basic.xml", it works without any error, however I can't find the file on my box. Where would it be? Why the error when valid a path is given?

    I have no idea.

    Can someone explain the weather I do something wrong, or is there a person who faced the same problem?

    Thanks in advance!

    André

    Hi John,.

    First: thank you for your quick response!

    Indeed, it is created on the application server.

    It's terrible! I have even written in c:/Windows /.

    I've never tried this before. And what I see makes my very concerned on this issue.

    Anyone who can run a such export can write anywhere on the application server.

    Give me a few minutes to realize what this means about security issues.

    Oracle! Please explain what you have to say.

    Best regards!

    André

  • Maxl and ESSMSH Commads runtime error

    Hello

    I had recently installed EAS Client while my system is getting under a precedent. First of all, I was unable to get into the Maxl with essmsh command, so I started to go to the directory where the site startmaxl.cmd and from there, when I run I enter shell Maxl. I was curious on how to solve this problem. But the biggest concern is now, I'm trying to encrypt the passwords bit and while I run essmsh - Maxl shell gk, the key is not getting recognized. Previously, before re installing EAS I had no problem on this at all. Any comment or suggestion?

    Thank you!!

    If you change the lock on your front door, you can always use the old key? Lol if you change the password for a data source, you cannot use the old one encrypted.  You must provide a new and re-encrypt it.

    or on your car, you have a lock and an ignition key (ok old cars) using a key. If you have a problem with the ignition switch you change it but not the lock of the door. Therefore, you have the old key to get into your car (connection) and a new key to start the car (the SQL language). The old key no longer works

  • MAXL execution with warnings

    Hello

    I use Maxl statement to load the data to essbase lettering.

    I get a msg like "statement executed with warnings. Data are load with questions and it will generate error empty files.

    How can I look into warnings as errors file is empty.

    Thanks in advance.

    ASO default database will not allow you to load zeros and missing. It warns you about the stream having 240 lines nil. If it is a rule of load SQL, you can remove only the records that are not null.

    Concerning

    Celvin Kattookaran

  • How to change the 'Drive' for the BSO cubes (just like we do using "alter tablespace" for ASO cubes) using MAXL etc.?

    Hello team,

    I'm trying to make a backup copy of the cube by using the copy commands, BSO

    but after copy, I need to change the drive letter (for the data and indexes of the files) using MAXLs.

    I am able to do for cubes ASO using "Alter tablespace" i.e. for example, change "D:\" car ' to 'E:\. "for the tablespace files.

    I need to do the same for the BSO cubes? any idea?

    Kind regards

    Amit

    Don't forget while you can also change the drive it can't displace data. You would have to export the data, delete the database, change the disks, and then reload.

    For the actual command of MaxL watch the MaxL Alter Database command. You can add, dorp or set volumes of disk for ind and pag files

  • When you use SEEP (cloud planning), can still develop you MaxL scripts to load the data, metadata, run calc scripts, etc.?

    I'm happy to get my hands on an instance of SEEP, but until then I'm trying to understand some technical details that you cannot learn of Oracle demos.  For example, can I develop MaxL to automate various processes?  Is the utility planning avaialbe (OutlineLoad, PasswordEncryption, etc.) for use?  Thank you!

    I found what I was looking for after some digging.  Thanks Google!

    Administer the data management

Maybe you are looking for