MaxL and Bat

Hi All,
I am new to essbase, I am trying to setup schedule default calculation, but I am a little confusssed about the process, here is what did for testing:
1. Create simple Calc Script under Test.test in EAS: CalAll.csc like this:
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET UPDATECALC OFF;
Calc All;
2. Create MaxL script as MaxLTest.mxl:
Spool on to 'D:\log\Test.log';
Login admin password;
execute calculation CalAll on Test.test;
spool off;
exit;
3. Create MaxL.bat file like this:
/*log in user */
login admin password;
ESSMSH MaxLTest.mxl
EXIT
Does this sounds right? I double click on MaxL.bat and windows going out quickly, also I don't see any Test.log generated.
Thanks
Edited by: user13117857 on Jul 22, 2010 12:57 PM
Edited by: user13117857 on Jul 22, 2010 12:57 PM

John,
Thanks. Here is the changes I make based on your advice, yes, we are on 11.1.1.3:
1. MaxL script:
Spool on to 'D:\log\FinGL.log';
Login $1 $2 on localhost;
execute calculation CalAll on Test.test;
spool off;
exit;
2. My .bat file:
/*log in user */
login admin password;
ESSMSH CalcFinGL.mxl admin password
3. you mention that I also need to specify the path of my maxl script, so I put my maxl script at D:\Script, then MaxLScript should change to this?
ESSMSH D:\Script\CalcFinGL.mxl admin password
4. I search on essmsh, it return couple of path under my Hyperion folder, which one I should use, for example:
D:\Hyperion\products\Essbase\EssbaseServer\bin
D:\Hyperion\products\Essbase\EssbaseClient\bin
D:\Hyperion\common\EssbaseRTC\11.1.1.2\bin, etc.
5. My complete .bat should be like this?
D:\Hyperion\products\Essbase\EssbaseServer\bin\ESSMSH D:\Script\CalcFinGL.mxl admin password
Thanks
EXIT

Similar Messages

  • I want to get some materials about MaxL and ESSCMD

    Hi,
    I want some materials about MaxL and ESSCMD,or if I want to give a guide about this,what I will say,Thank you for your greatful help.

    Hi,
    You can find study material about Maxl and Esscmd from following location --->
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    But if you want pdf file for these then give me your id and I will send you the same.
    Hope it answered your question.
    Regards,
    Atul Kushwaha

  • Training on CalcScripts, Reporting Scritps, MaxL and Data Loading

    Hi All
    I am new to this forum. I am looking for someone who can train me on topics like CalcSripts, Reporting Scripts, MaxL and Data Loading.
    I am willing to pay for your time. Please let me know.
    Thanks

    Hi Friend,
    As you seems to be new to essbase,you must learn What is Essbase, OLAP, Difference between Dense & Sparse, and then use "essbase tech ref" for more reference
    After that go through
    https://blogs.oracle.com/HyperionPlanning/and start exploring CalcScript, Maxl etc
    and all this for you free free free..........
    Thanks,
    Avneet

  • Spool in Maxl and Perl

    I am trying to use spool in perl/maxl and I am getting a compilation errorthe command I am using is $sts = $dbh->do("spool on to 'load.log'")and the error i am getting is6 - (1) Syntax error near ['spool']50 - MaxL compilation failedHas any body experienced this beforethanks

    In my opinion the fact that the portal uses primarily JAVA, lends itself to quite a bit of expandability. I think it will be quite difficult for a portal written in PHP (Such as PHP Nuke) to share user session and state information accross multiple machines/instances. The iPlanet portal server has been designed to accomodate this, through the use of specialised session services. The threading model in Java also lends itself to greater efficiency when executing multiple tasks, whereas a portal based on PERL, would have to start a new process everytime a service is requested, which can then become VERY resource intensive.
    In terms of expandability, the fact that it is contaned inside a JAVA VM will allow you to develop and deploy alot of custom developed applications for your portal. There is also quite a good portal API for the iPlanet portal server that will allow you to tap into the Logging,Session,Profile and Authentication services provided by the portal.
    Hope this helps!

  • Adobe Pro X and Bates/Page Numbering Cuts off 1/3 of Page - Please Help

    Hello!
    We have been using both the bates and page numbering features in Adobe Pro X on Windows 7 with various .pdf files.  However, when we scan files using Adobe Pro 6 on XP in combination with a Visioneer/Xerox Documate 632 scanner, and when adding bates or page numbers to these files, the image on the page shifts and cuts off one-third of the image.  (We use Adobe Pro 6 and XP with this scanner because Pro 6 is not compitable with Windows 7 and Pro X requires too many mouse clicks when compared to Pro 6; thus saving time in the field.  We like the page and bates numbering feature in Pro X because it shrinks the document to avoid overwriting texts and graphics.
    Do you have any suggestions on how to resolve this issue aside from using Pro X with the time spent using the additional mouse clicks?
    Thank you in advance!
    LB1090

    Hi Suzbat,
    If you try to print any other document from any other application. Did you check, are you facing the same issue or not?
    Have you tried to install latest drivers of the printer.
    Regards,
    Ajlan Huda.

  • [svn:bz-trunk] 18061: Added svn:executable property to sh and bat files

    Revision: 18061
    Revision: 18061
    Author:   [email protected]
    Date:     2010-10-07 06:57:08 -0700 (Thu, 07 Oct 2010)
    Log Message:
    Added svn:executable property to sh and bat files
    Property Changed:
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/catalina.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/catalina.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/cpappend.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/digest.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/digest.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/setclasspath.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/setclasspath.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/shutdown.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/shutdown.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/startup.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/startup.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/tool-wrapper.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/tool-wrapper.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/version.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/version.sh

    Well, I've tried compiling a package and I have modified the PKGBUILD file to look like this now. (Keeping it as simple as possible)
    pkgname=dvbcut-svn
    pkgver=16
    pkgrel=1
    pkgdesc="DVBCUT-svn is an application that allows you to
    edit MPEG files. ie: Remove TV ads. (SVN version: Fri, 01 Dec 2006)."
    url="http://dvbcut.sourceforge.net"
    depends=('qt' 'libao')
    makedepends=('subversion' 'scons')
    conflicts=('dvbcut' 'ffmpeg')
    provides=('dvbcut')
    source=()
    md5sums=()
    _svntrunk=https://svn.sourceforge.net/svnroot/dvbcut/trunk
    _svnmod=dvbcut
    build() {
    cd $startdir/src
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
    cd $_svnmod
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    make || return 1
    # vim:syntax=sh
    I then run makepkg PKGBUILD and let it do its thing
    It ends with this...
    scons: done building targets.
    ==> Removing info/doc files...
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .PKGINFO file...
    ==> Generating .FILELIST file...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Compressing package...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Finished making: dvbcut-svn  (Sun Jan 21 19:08:28 UTC 2007)
    I'm not sure what's causing this error message.
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    I'll try installing it and see how it goes.

  • Unable to load multiple files to Essbase using MaxL and wildcards

    I have multiple data files to load:
    Files:
    Filename.txt
    Filename_1.txt
    Filename_2.txt
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    However, when I try to run the following I receive the following error:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename*.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Error:
    ERROR - 1003027 - Unable to open file [DB01/oracleEPM/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/MyApp/DB/../../Filename*.txt].
    ERROR - 1241101 - Unexpected Essbase error 1003027.
    I can run the following fine without any problem, but this only deals with the first of several files, and I’d rather not hard-code multiple files since the number might vary in the future:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Any ideas? And how about ASO databases?

    JamesD wrote:
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    That is the tech ref for 11.1.2.2, are you on 11.1.2.2?
    Import Data
    11.1.2.2 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_imp_data.html
    11.1.2.1 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref_1112100/frameset.htm?maxl_imp_data.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • What to do if Add Header/Footer tool and Bates Numbering tool both get error message? File too big?

    Hello,
    I'm working with a 700 page / 103 Mo PDF that I need to put page numbers on. Both the Header/Footer tool and the Bates numbering tool result in error messages.
    'An error occurred while retrieving the contents of the page.'
    I suspect this is because the PDF was made by assembling 30 smaller PDFs via Preview and never down-sized during the process. I would imagine that would create a kind of clunky file. Or maybe it's simply the size that is overloading the software.
    Does anyone have any advice on a fix or a workaround for this? I need to put page numbers on. I really want to put them on the composite PDF (going back to the 30 original PDFs would be a real headache for a lot of reasons.)
    Thanks!

    Hi Eliza,
    Your suspicion is right. It might be possible that assembling different pdf's together created from different applications might be the issue.
    Try printing the pdf to Adobe pdf printer and then try adding the page numbers and check.
    Regards,
    Rave

  • How to create Base Dimensions with MaxL and Text File?

    Hi,
    Doing a scratch rebuild of a cube every month. Don't want to have a 'dummy' outline with base dimensions to copy over every build. Instead want to build from text file somehow. Thus my plan is to: 1) Delete the existing app/db 2) Create a new blank app/db 3) Create the base dimensions in the outline via text file and 4) Build entire outline via a text file. I'm stuck on #3 how to get the 'base dimensions' built via text file. I need:
    ACCOUNTS
    PERIOD
    VALUE
    VIEWS
    SCENARIO
    CUSTOM4
    YEAR
    CUSTOM3
    CUSTOM2
    ENTITY
    CUSTOM1
    I see this MaxL, but it uses a 'rules file' and I never have built a rules file to create base dims so I'm confused if it's possible or not...
    import database sample.basic dimensions
    from data_file '/data/calcdat.txt'
    using rules_file '/data/rulesfile.rul'
    on error append to '/logs/dimbuild.log';

    We rebuild our Departments and Organization from an enterprise hierarchy master each week.
    The way we implemented (what you call #3) was to not do #1 and #2, but to have a "destructive" load rule for each of these dimensions using a text file. (in the "Dimension Build Settings" for the load rule, select "Remove Unspecified" to make it destructive)
    The text file just has the dimension name (parent) and any children we needed defined in a parent/child relationship. For instance
    "Sales Departments" "0100-All Departments"
    This essentially works the same as deleting the app because the destructive load rules will drop all the blocks of data that were unspecified.
    Then we run our SQL load rule to build the rest of the dimensions from the Location Master.
    We perform a level-0 export prior to this process, then reload the level-0 data and execute all the consolidation scripts to get the data back (now in a current enterprise defined hierarchy)

  • MaxL and long names

    I am running version 6.5 on Win2k. I heard a rumor that MaxL does not correctly interpret the Windows mappings of long names. For example, it has trouble mapping DOCUME~1 to "Documents and Settings". In particular, if I dynamically get the system variable TEMP through VB for the purpose of saving a file there, which might be buried under Docs and Settings ... and then create a MaxL script to import that file, on execution I get an error that the length of the essmsh statement is too long. The problem is that I get the error sporadically, meaning not always on the same import command - but always on one that is importing a file from TEMP. Has anyone heard of this? Harold

    Hi Arek,
    Are you using Web Application Designer to create dashboards?
    If so, you can change these names in the properties of each web item used.
    Regards,
    KK.

  • MaxL and Shared Services Roles

    Does anyone know what the minimum level of security has to be to still be allowed to use create and execute MaxL code via EAS?

    What do you want to do in the maxl.
    If you have the role of "server access" then you can log into an essbase server with Maxl.
    Then you need roles against apps depending on what you want to do.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Windows and bat files

    Hi
    I've made some bat files to compile java sources and run the program.
    After the termination of the program i want the bat file to stop and let me see the messages on console but it closes automatically.
    I tried put pause at the end of the bat file but it does not work.
    Just after finish the java program the console exits and never executes the pause command.
    Why ?
    how Can I do ?

    I tried this one windows XP and it worked fine:
    Test program: public class Test {
        public static void main(String[] args) {
         System.out.println("Test program running");
         System.exit(1);
    }Batch file (called runtest.bat): java -classpath c:\temp Test
    pauseThen I created a shortcut to "runtest.bat". It opened a console window and paused with this output: C:\temp>java -classpath c:\temp Test
    Test program running
    C:\temp>pause
    Press any key to continue . . .How are you running the batch file? Is it from a shortcut on Windows, or from a third party tool, like an editor?
    What is the command line you're using to run the batch file?
    Tim

  • MAXL and Transparent Partition

    Hello,
    I am actually working on the Hyperion Essbase EPM 11.1.2
    I am trying to create a transparent partition using a MaxL command:
    When I create manually this partition (using EAS): This is validated and data are copied.
    When I run the MaxL: The partition, appear but it seems to be broken, I can only repaire or delete the new partition.
    If I try to repair it (in EAS), It does not work. I don’t manage to link my partition to source and target database.
    I have used with two different users : Admin (native directory) and another user (admin access).
    Thanks for your answer,
    Arthur.

    Hi,
    What the error message you are getting.
    When you create a partition via Mxl editor it will open the interface to create the partiton. Check this Mxl with your mxl.
    Thanks,

  • Sierra and Bates error?

    I'm currently studying for SCJP5 (or 6 maybe if it turns out to be no more than a few classes different) and using the book "SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055)" by Kathy Sierra and Bert Bates. Generally I think this book is great, but I kind of disagree with one of the questions in the master exam (or with the answer, to be precise). It reads as follows:
    Given:
    class SortOf  {
         String name;
         int bal;
         String code;
         short rate;
         public int hashCode() {
              return (code.length() * bal);
         public boolean equals(Object o) {
              // insert code here
    }choose code that fulfills the hashCode and equals contract.
    The answers given are:
    a) return ((SortOf) o).code.length() * ((SortOf) o).bal == this.code.length() * this.bal; (with which I aggree)
    b) return ((SortOf) o).code.length() * ((SortOf) o).bal * ((SortOf) o).rate == this.code.length() * this.bal * this.rate
    I don't aggree with the latter. Suppose that:
    object A:
    code.length() == 2
    bal = 3
    rate = 2
    object B:
    code.length() == 3
    bal = 4
    rate = 1
    equals: 3*2*2 (12) == 3*4*1 (12)
    but hashCode: 3*2 (6) != 3*4 (12)
    which breaks the contract that equal objects must have the same hashCode.
    Is it a real bug oris it just me who is missing something?
    Thanks.

    You're right.
    Looks like a little bug, authors didnt spot it.
    The correct answer it's a) option.
    The other one breaks in some case.

  • What is the diff. bet ween maxl and esscmd?

    hi guys
    i have the doubt?
    what i sthe difernce between esscmd and maxl ?
    plz tell me .

    ESSCMD is the original command line interface for administration commands you would use with ESSBASE.
    MAXL is the new version of the command line interface or data definition language that is more language driven and is what the new version releases can use to replace or even coexist with ESSCMD.
    best I could answer off the top of my head.
    kind regards

Maybe you are looking for

  • What is Exchange Rate Revaluation and how does it impact B/L items and P/L

    Dear All, Can Any one please guide in the sense how a foreign currency revaluation impacts balance sheet and P/L items. ALso why do we need at all to do Foreign Currency Revaluation. Pinee

  • Snowflake in obiee 11g

    Hi, I am very confused on snowflake schema. Lets start with example: I have 3 dim tables & 1 fact table called: Fact ABC, Dim A, Dim B, Dim C my join condition is like: Fact ABC join with Dim A, Dim A join with Dim B & dim B join with Dim C. I don't

  • WB Defaults in ACR

    I have ACR  White Balance set to "AS Shot", which, for my D90 is 4800K. I have a D80, also set to that figure. When you check WB in ACR metadata, it says Manual. for both. So far, so good. Now here's the problem. The D80 WB was accidentally reset fro

  • Is there an easier way to draw a shape in 3d to match X,Y, Z of photo?

    I usually start a project in 2d and import photos, draw shapes and text in this 2d environment. I find it easier this way because they all start out on the same plane, and when manipulating in 3d later, this initial plane acts as a reference plane th

  • I can't AirPrint from my iPhone 3Gs

    I can print photos from my Kodak app to my wireless printer but when I try and print straight from my photos or a document, she searching for printer it can't find it. Any help??????