Maxl doubt.

Hi,
Below is the MAXL code, I am confused why do we need to load-unload-load the application.
And why does the load application command produces different logs "before unload" and "after unload"?
MAXL> alter system load application ABC;
OK/INFO - 1056090 - System altered.
MAXL> alter system unload application ABC;
OK/INFO - 1054005 - Shutting down application ABC.
OK/INFO - 1056090 - System altered.
MAXL> alter system load application ABC;
OK/INFO - 1054014 - Database XYZ loaded.
OK/INFO - 1051061 - Application ABC loaded - connection established.
OK/INFO - 1054027 - Application [ABC] started with process id [8992].
OK/INFO - 1056090 - System altered.
Thanks,
~RN.

I don't think you need load-unload-load.
Is that the real sequence?
The reason why you see different messages shows that the application is loaded when you are running load first time. (before load)
If you stop the application and then run load-unload-load you'll get the same messages.
Regards
Celvin
http://www.orahyplabs.com

Similar Messages

  • MAXL command doubt....

    Hi ,In maxl I use the following command to load dimension but it gives error near the datasource or coneection name.import database DMTest.DMAuto dimensions "'sgddmt'" using rules_file "'c:/essbase/app/DMTest/DMAuto/allDMld.rul'";It gives the following error:6 - (1) Syntax error near ''sgddmt using rules_file ''. 131 - DX compilation failed.can anyone point out what is wrong with the above statement.thankssuja.

    Hi Suja,From your definition I believe 'sgddmt' would be the data file name. If so, the command line should be like thisimport database DMTest.DMAuto dimensions from data_file '/.../sgddmt.txt' using rules_file '/../allDMld.rul'; Hope this helps. You can contact me if you still couldnt arrive at the point.JG

  • How to check MAxl is running properly or not

    Hi All,
    i am working on ASO cube which has to implement Automation for dimension building and data loading. I am unable to execute even a single sample systax with out error. Is there any specific method to use Maxl in ASO cube or any precautions to be taken in ASO for Maxl scripts.
    I don't know it is a foolish question or not to ask like "how to check the Maxl is working properly or not" bcoz it is raising me doubt by raising error for sample script also.
    please help me out from this issue .
    Regards

    Can you log into Essbase through MaxL interactively.
    If so, can you do it from a script? Something like:
    login username password on servername ;
    exit ;
    If you can't do the first, yup, your MaxL client is hosed or you don't have a valid username/password. Or you don't know the servername.
    If you can't do the latter, perhaps your client (could be the server itself, if you're running it from there) has a pathing issue when running batch files.
    If both work, it is a syntax issue. Now you're just faced with your mistake(s). :) But at least you don't have to spin wheels trying to figure out if MaxL is working or not.
    Regards,
    Cameron Lackpour
    P.S. You might want to try using the MaxL editor in EAS and see if your login code works there. I believe (not sure, but I think so) that EAS has its own flavor of MaxL as I know you can run code there without having the Essbase client installed on a local machine.

  • Maxl Start up problem

    Hi All,
    I am using system 9.3.1. essbase ( Windows 2003 server). When I tried to open maxl in command prompt (essmsh) I am just getting a pop-up which dissappears in seconds. I started essbase server, adminserver. I am able to write commands in Maxl editor where the statements executes correctly. But unable to run in command prompt. Below is the error message I get when i type essmsh in command prompt:
    MSH Fatal Error: Error Initializing Location module.
    I have one more doubt... When i searched Mycomputer for essmsh, (Thought to start manually, which also disappears) the essmsh file (executable) was found in three places shown below::
    Essmsh D:\Hyperion\Analytic Services\bin 160kb
    Essmsh D:\Hyperion|Analytic Administration Services\server\bin 160kb
    Essmsh D:\Hyperion\Common\EssbaseRTC\9.3.1\bin
    Request your valuable suggestions on this issue.
    Thanks in Advance
    Hari

    From your command prompt type in "Set path" and confirm that it contains one of the folders that contains essmsh. It should normally be at the beginning of the path and it's likely to be the first entry you listed ("D:\Hyperion\Analytic Services\bin", although it might be legitimately abbreviated to something like "D:\Hyperion\Analyt~1\bin").
    If this is NOT the path listed in the hyperion_home variable it could be an issue. This is likely to be caused by the install sequence and I'm thinking perhaps uninstalling the run time client and installing the "real" essbase client would make more sense, although I'm no expert on using the run time client (I thought it was a for redistribution with 3rd party applications and doesn't include the hyperion apps). This is just speculation as to being a part of the issue so it may not be relevant.
    If checking the path and hyperion home vars doesn't lead to an answer, try going to the three paths (in a command prompt) where essmsh exists and run it from within that path. One of them should run without that error message -- hopefully. Post your findings.

  • Maxl Backup Script

    Verion 9.3.1
    It seems that when using "export database" and the database in active use, the export fails. Is this correct?
    In the beginning of the script, we use "alter system" to kill request, loggout sessions with force and disable disconnect. It seems that if the database is in active use, these commands fail and the essadmin user (system account) never gets logged off. So users can continue to do things.
    This is problematic because if my data export fails, we later do a database restructure (clear data) and load the backup file back. Obviously if the export fails and the database is cleared, we are left with a database with no data. Ouch.
    I doubt there is a way in Maxl to put a Planning app in maintenance mode so what are the best approaches? essadmin is the system admin which runs the maxl batch but as users are navigating form and such essadmin makes all the connections to Essbase.
    It also seems we could use an iferror to just stop the script if it runs in to any errors.
    Thanks,
    Greg

    Greg,
    You need to push planning application into maintenance mode or stop planning server -- to stop users logging/entering data through forms
    If you have single planning app or all apps can go down during nightly process then just stop planning server by calling stopplanning.cmd( not sure about file name)
    after you nightly process is done call startplanning.cmd
    If you have multiple applications and only a subset of them needs to be under maintenance mode
    then you need to change few values in your application Relational repository ( its not recommended by Oracle)
    LOGIN_LEVEL='0' - For all Users
    LOGIN_LEVEL='2' - For Administrators
    you need to change Login_level value to '2' to move app into maintenance mode..
    this link will give you a better idea http://www.orahyplabs.com/2011/02/place-planning-under-maintenance-mode.html
    just add above mentioned steps based on your requirement
    KK

  • Maxl/esscmds on unix : hiccups

    im kinda doubtful if the environment variables have to be set in the script if the path is already set in the .profile in essbase.should i set the server ,user and password for eg :server =xyzexport server etc i also feel i have a problem with setting the user as changes are not reflecting in the root.also what is the best way to create a maxl or an esscmd script in unix for scheduling.

    This is an excerpt from a script to enable logins after a nightly archive process:############################################################# Backup the old enable log file and start a new log file. #############################################################mv ${LOG_PATH}/${DB_NAME}_enable.log ${LOG_PATH}/${DB_NAME}_enable.log.bak >${LOG_PATH}/${DB_NAME}_enable.logESSCMD << end_esscmdOUTPUT 1 "${LOG_PATH}/${DB_NAME}_enable.log"IFERROR "quit_scr";LOGIN "${SERVER}" "${USER_ID}" "${USER_PWD}";IFERROR "quit_scr";ENABLELOGIN "${APP_NAME}";:quit_screxit;end_esscmd################################################### Log a message if the script fails at any point ###################################################$COMMON_SCRIPT_PATH/chkstat.sh ${LOG_PATH}/${APP_NAME}_enable.logif [ $? != 0 ]then(and so on)##################################################many of the variables are set in the user's profile as part of the connection, others are set in other places of the script. Because it's Unix, the script doesn't have to have any specific extension, as long as it's been marked as an executable. The syntax here shows how the inline code allows the script to be interpreted and fed to the esscmd processor without creating a separate file.As for scheduling, chron works, other things may work better. That's between you and your support department to work out.Good Luck,-Doug

  • Data Load MAXLs in ASO

    Hi All,
    Greetings of the day !!!!
    Want to understand the difference between "Add values create slice" and "override values create slice" used in data loading MAXLs
    Suppose we initialized buffer and loaded data in buffer then we can use following two MAXLs
    1)
    import database AsoSamp.Sample data
    from load_buffer with buffer_id 1
    add values create slice;
    2)
    import database AsoSamp.Sample data
    from load_buffer with buffer_id 1
    override values create slice;
    Q1
    What i am thinking logically is if i am again loading the data in the same intersections from which slice is created ADD VALUE will add it and override value will overwrite it .... e.g if 100 was present earlier and we are again loading 200 then ADD will make 300 and overwrite will result 200. Let me know if my understanding is correct
    Q2
    Why do we use "create slice" ? What is the use? Is it for better performance for data loading? Is it compulsary to merge the slices after dataloading??
    Cant we just use add value or override values if we dont want to create slice...
    Q3
    I saw two MAXLs for merging also ... one was Merge ALL DATA and other was MERGE incremental data ... Whats the diff ? In which case we use what?
    Pls help me in resolving my doubts... Thanks a lot !!!!

    Q1 - Your understanding is correct. The buffer commit specification determines how what is in the buffer is applied to what is already in the cube. Note that there are also buffer initialization specifications for 'sum' and 'use last' that apply only to data loaded to the buffer.
    Q2 - Load performance. Loading data to an ASO cube without 'create slice' takes time (per the DBAG) proportional to the amount of data already in the cube. So loading one value to a 100GB cube may take a very long time. Loading data to an ASO cube with 'create slice' takes time proportional to the amount of data being loaded - much faster in my example. There is no requirement to immediately merge slices, but it will have to be done to design / process aggregations or restructure the cube (in the case of restructure, it happens automatically IIRC). The extra slices are like extra cubes, so when you query Essbase now has to look at both the main cube and the slice. There is a statistic that tells you how much time Essbase spends querying slices vs querying the main cube, but no real guidance on what a 'good' or 'bad' number is! See http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/aggstor_runtime_stats.html.
    The other reason you might want to create a slice is that it's possible to overwrite (or even remove, by committing an empty buffer with the 'override incremental data' clause in the buffer commit specification) only the slice data without having to do physical or logical clears. So if you are continually updating current period data, for example, it might make sense to load that data to an incremental slice.
    Q3 - You can merge the incremental slices into the rest of the cube, or you can merge multiple incremental slices into one single incremental slice, but not into the rest of the cube. Honestly, I've only ever wanted to use the first option. I'm not really sure when or why you would want to do the second, although I'm sure it's in there for a reason.

  • 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

  • MaxL Commands with a .BAT

    Is there anyway to execute MaxL commands inside Essbase using a ".BAT" file?
    Like write "Create application Test;" on a TXT then use a ".BAT" to read this TXT as a parameter file in order to create an application inside Essbase.
    I think the ".BAT" must be like any other else but my doubt is if must have some kind of logging commands at the TXT or any other commands.

    here's a sample:
    in the MaxL file you write this:
    spool on to 'c:\Logs\login.out';
    login $1 $2 on $3;
    spool off;
    In the Batch file you write this:
    set uid=userid
    set pwd=password
    set svr=localhost
    essmsh "c:\scripts\login.msh" %uid% %pwd% %svr%
    Note: Make sure there is no space between the "=" sign and your variables.
    or you can skip the variables and just pass the parameters directly to the msh file, something like this:
    essmsh "c:\scripts\login.msh" userid password localhost
    Message was edited by:
    didopiff

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Doubt in fbl1n transaction

    hi i have a doubt....
    in fbl1n transaction, there are open items and cleared items.
    in it the cleared items  for certain document types such as invoice etc is not present in the open item table (bsik)
    however the cleared items for document types such as general  voucher its present in the open items table (bsik)
    is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
    plz exlain!

    Hi
    There are 2 tables(open and Closed Items)  in FI for Account Payables and Account Receivables and GL accounts
    1.Account payables: BSIK is Open Items and BSAK is Closed items
    2.Account Receivables; BSID and BSAD for OPEN and closed items
    3/GL accounts :  BSIS and BSAS  for Open and Closed Items
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • HOW can i delete the members in dim using MAXL

    Hi All,
    I want to delete the all the memebers for dimensions before reloading so how ca n i write the maxl script for this to delete the members in the dimensions
    plz can any one help on this its very urjent ,
    It would be appriciated ...
    Thanks

    There is no way to alter an outline with MaxL, MaxL is an admin language for processing. The only option, as Glenn mentioned is to issue the reset all command to blow away everything. But you probably don't want to do that, so instead you use Maxl to run a series of load rules to achieve your goal.
    Load rules do not have functionality to delete outline members, it does have a feature however that allows you to remove unspecified members from a dimension build, so when loading in your members, if existing members are not in the import, they are removed. So Glenn's point was to create a source file with a single dummy member. When you load using "Remove Unspecified" it will delete all the members and just keep the one dummy member. Then when you go back a second time and actually load the real members, the dummy member will be removed and you will have a clean dim with only your new members. This is a work around solution, but it's what a lot of people do.
    Now if you have 15 dimensions you need to do this with, you might want to take a slightly different approach. I'm assuming 15 dimensions is probably an ASO cube and this method will be preferable to avoid outline fragmentation.
    Create a copy of your outline with all the base dimensions that do not change intact. For the ones that do change, just have your dim root member. Consider this your starting outline template and save a copy of it. When you want to rebuild your cube have a server process that takes the copy of your template outline and copies it over your existing outline file in the directory structure. Then run your load rules to import your new members.

  • How to change the Existing alias with new alias name...MAXL SCRIPT

    HI Experts
    I need to change alias name of the existing member with new alias name.
    please send me maxl code to change the alias name .
    My thought is
    1) Old alias should be replaced with new alias name .
    2)There is one account that should be rolled out to another parent..these parents are already exsist
    3) I need a MAXL Script to change the new alias name .
    please suggest ASAP.
    Thanks
    USER

    John
    I heard that we can replace existing alias name with new alias thru MAXL
    i.e replace alias name XXXX member with YYYY ;
    please correct me if iam wrong ,might be Maxl command is wrong but this is the idea.
    Thanks
    USER

  • Doubt in creation of a new object

    Hi All,
                 I have one doubt in creation of a new object.If a new object is to be created and it is not a subtype
    of any existing object, then what should we enter in the Program field for creating the object?
    I hope I am clear with my question.
    Thanks in Advance,
    Saket.

    Hi Saket,
    Following will be required for created a custom business object.
    1. Object Type - ZTEST (Internal Techincal Key)
    2. Object Name - ZTESTNAME (Technical Key Name)
    3. Name - TEST (Name of BO, it is used while selecting the object type)
    4. Description - (Short Description of BO)
    5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
    6. Application - A or B.. etc (Area to which your BO is related)
    Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
    Regards,
    Gautham Paspala

  • Doubt in sender mail adapter

    Hi Everyone,
    Can we read and validate the attachment of the mail.If so how to do it.
    Thanks in advance,
    Sakthi

    Hi Sakthi,
       Please refere the below links:
      http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/52b240ac052817e10000000a1550b0/frameset.htm
    Let me know if you have any doubts regarding this.
    Thanks,
    sekhar.

Maybe you are looking for

  • More than one custom ResultScriptWebpart in the application page

    I am currently working on a scenario where I have to use an application page for search with different tabs showing the results from different Result Sources created at site collection level. So in the .aspx page, I have added two ResultScriptWebpart

  • Problems with Java Dictionary Tables

    Hi Experts, I have some problems with the Java Dictionary tables that I have created for my application. There are around 15 dictionary tables, each one of them having several hundred records, added in due course. As much as I understand these tables

  • Acrobat 3D and Windows 2000

    Everyone that has the Windows 2000 operating system has problems with the Acrobat 3D models. The models were created using Windows XP and were tested using Windows XP. I am assuming that Acrobat 3D and Windows 2000 are incompatible. Adobe states Wind

  • Undo Redo Function

    Hi all, I want to implement Undo Redo functionality in my application.For example , I have a JFrame with a button in it. On clicking the button i am importing a image in to it,and performing some action like resizing the image and dragging it within

  • NVGRE Gateway Cluster Problem

    Hello We have following setup: Management Hyper-V hosts running WAP, SPF and SCVMM 2012 R2 components Gateway Hyper-V host: single node gateway hyper-v host, configured as a single node cluster to be able to join extra hardware in the future this Hyp