Restructure using maxl command

hi ,how can we restructure database using maxl command.
Actualy there is a planning application and i want to restructure database but i am planning on automating the process to run in the night but i am not able to make sure which command is the one for restructuring.

If we are running this command data is gettiung cleared ?
Edited by: NareshKumar on Mar 30, 2012 3:32 PM

Similar Messages

  • Creating dimensions using MaxL commands

    Is there anyway to create one or more dimensions using MaxL commands?
    Also setting their parameters like "Accounts/Time", "Label Only" and "Dense/Sparse"?

    Here's a sample from the documentation:
    import database sample.basic dimensions
    from data_file '/data/calcdat.txt'
    using rules_file '/data/rulesfile.rul'
    on error append to '/logs/dimbuild.log';
    Check: import dimensions in the MaxL part of the technical reference you will find more examples.

  • Refresh Security using MaxL command

    Hi All,
    When trying to refresh security from shared services using the below maxl command:
    alter user 'henkej03' sync security with all application;
    getting the below error:
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Info(1051590)
    Synchronization started for user/group [hypadmin]
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Error(1051514)
    Analytical Services failed to get roles for users and groups for applications during refresh/login sync/user sync from Shared Services Server with Error [CSS Error: Internal Error. Function getmultiUGmultipAppRoleList]
    [Fri Mar  6 09:06:00 2009]Local/ESSBASE0///Warning(1051003)
    Error 1051514 processing request [Set User/Group List] - disconnecting
    Can anyone help me on the above.
    Thanks in advance,
    Raja

    Thanks guys...
    but my HSS and LDAP was up and running, I think there was temporary problem in network ... today I got error...
    ERROR - 1051514 - Analytical Services failed to get roles for users and group
    s for applications during refresh/login sync/user sync from Shared Services Serv
    er with Error [Cannot find application with ID ESBAPP:bopelim1_AHQLUBNT118_2].
    tried to use "resync all.." but failed...
    Checked in HSS and app was not registerd..to HSS :) .. so regiseted with HSS and User was refreshed succesfully !
    In case you encounter the "ERROR - 1051514", check if the app is registered to HSS or not?
    have a nice time !!!
    SD

  • Rename Dimension Member using Maxl Command

    I have a requirement to rename many account dimension members in the outline. Is there a way to do this via MAXL script instead of renaming each account manually via EAS/AAS? If it is doable, please provide an example how I would go about doing this?
    Thanks,
    Francisco

    There is not a way to do it in MaxL. MaxL does not do outline manipulation.
    are you changing the alias or the member names? If you want to change the alias, then you could do it in a load rule. If you want to change the membe names it is more complicated especially if oyu want to retain data. The best way would be to use the api to read members from a table with old and new names, but you would have to write the api sequence.
    There are other ways using alias tables where you have a second cube and reverse the alias and member names. export the data from the original cube and load into the second cube.

  • MaxL Command    :    ERROR - 1241101 - Unexpected Essbase error 1007083

    Hi,
    I have created outline here I have created one dimension i.e. Account
    and also created Rule file as per databse outline. It is valid
    successfully.
    Now I have to load dimension by using MaxL command.
    I have created Account.csv
    within that I have take :
    Account->xyz
    xyz->abc members.
    I am loading dimension by using following statement:
    import database PLAN.PLANDB dimensions from data_file 'D:\Practice\Account
    .csv' using rules_file 'C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseSer
    ver\essbaseserver1\app\PLAN\PLANDB\plan.rul' on error append to 'C:\Oracle\Middl
    eware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\PLAN\Log\plan.log';
    So I getting following error:
    OK/INFO - 1053012 - Object [PLANDB] is locked by user [admin@Native Directory].
    OK/INFO - 1053012 - Object [52772261] is locked by user [admin@Native Directory
    ERROR - 1007083 - Dimension build failed. Error code [1090003]. Check the ser
    ver log file and the dimension build error file for possible additional info..
    OK/INFO - 1053013 - Object [52772261] unlocked by user [admin@Native Directory]
    ERROR - 1241101 - Unexpected Essbase error 1007083.
    OK/INFO - 1053013 - Object [PLANDB] unlocked by user [admin@Native Directory].
    and also in log file I getting message like:
    \\Column 1 Ignored; No DimBuild Dimension (3325)
    \\Column 3 - Invalid Dimension
    So could you tell me why I getting this types of error.
    what is the meaning of log file information i.e. "Invalid dimension."

    Hi,
    As per the error message, there was a mismatch of the dimension tagging or incorrect rules. Did you try to build the dimension/members using EAS Console?
    Take a simple sources file and rules file and re-build the dimension.
    You can try the following:
    1. Launch EAS Console and login using Administrative user credentials
    2. Connect to Essbase Server using administrative user credentials
    3. Create a test Application & Database say TestApp & TestDb
    4. Open the outline in the edit mode and create a dimension "Measures"
    5. Open the notepad and Create a source file as:
    Profit Margin Sales
    Profit Margin COGS
    Save the file in the c:\ drive as Sales.txt
    6. In EAS Console, right-click on database and select create Rules File and import the Source file
    7. Set the Field Properties.
    8. Build the dimension and check if the members are added to the Measures dimension
    9. Delete the members under Measures and then try the MaxL Script.
    Hope it helps....
    KosuruS

  • How to display complete filter string using maxl.

    Hi,
    I am trying to retrieve the strings for all the filters in an application which have read access enabled. Now, I have tried using MaxL command "Display Filter row". But, it only returns the first one or two members in the string but not the complete string. Please let me know if anyone finds a solution for the same.
    TIA,
    Vamsikrishna.

    you most likely need to use the Set Display Column Width in the MaxL statement. by default it is only 20 characters and my might need hundreds.
    You might try set column_width 200; and see if it is wide enough

  • Using substitution variable with multiple values in Maxl Command

    Hi All,
    Is there any option to use multiple values in 1 substitution variable and use them in a Maxl command.
    alter database $app_name.$db_name clear data in region '{CrossJoin(CrossJoin(CrossJoin({StrTOMbr(&Months)},{XXX, YYY}),{StrTOMbr(&CURYR)}), {ZZZ})}'physical;
    In the above case
    Maxl is not working if I have multiple months in &Months Substitution variable.
    Let me know if there is an alternate option to implement this.
    Thanks
    Sathish

    What is the value of &Months?
    If you put that exact value into the code, does it work?
    Regards,
    Cameron Lackpour

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

  • Clear the data region using Maxl

    Hi,
    I am trying to clear the data region using Maxl query, I am getting error like: Dynamic members not allowed in data clear region specificaion.
    +alter database 'PGSASO'.'ASOPGS' clear data in region 'CrossJoin(CrossJoin({[Actual]},{[FY11]}),{[Inputs].Levels( 0 ).Members})';+
    (Inputs( not a dynamic member, parent of this meber is a dynamic) comes under Account dim).
    I have tried the below code also(Syntax error in input MDX queryon line 1 at token ',').
    alter database 'PGSASO'.'ASOPGS' clear data in region 'CrossJoin([Inputs].Levels(0), CrossJoin({[ACT]},{[FY11]}))';
    Can anyone do let me know if there is any syntax error or alternate function would be available for clearing level-0 members/descendants under Dynamic parent...
    Thanks,
    Bharathi

    There is no syntax error in your statement. The problem is you input dimension(I guess) has some members with formulas on them and the clear statement does not allow those members to be in the clear. Ther ware a couple of ways around it. seperate out the members with formulas under a different parent and then modify the crossjoin to only pick up the level zero members that are not in that parent or you could put a UDA on formula members and use the exclude command to exclude anything with that UDA

  • Automate start/stop essbase service using Maxl or batch

    Hi - how would my batch or Maxl file look like if I wanted to come out with a script to stop and start my essbase service? The reason why i am doing this is because I wanted to stop the essbase service, so that I can archive the essbase.log file.
    I am on essbase 7.0, I have read on some postings that stopping and starting the essbase service can potentially corrupt the sec file. If so, then is there any other way of archive the essbase.log file so that it does not grow to megs.
    Thanks.

    Hi,
    You could use the following maxl
    alter system shudown;
    it may be useful to stop all the applications first e.g.
    alter system unload application all;
    or you can use windows command line
    net stop essbaseservicename
    and to start
    net start essbaseservicename
    Another method to backup the essbase.log is to make a copy of the log then use maxl to delete the log.
    alter system clear logfile;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Execute MaxL command througth ODI and encrypt password

    Hi
    I am looking for a solution to not use plain text password for my Maxl command in ODI.
    Anyone know how should I do that?
    Up to now, I found nothing.
    Thanks
    Alain

    Hi,
    Here is a example of encrypting the login credentials in a maxl scipt.
    First run something like this from a command prompt
    essmsh -gk >> c:\temp\encryptKeys.txt
    This will create a text file with the public and private keys e.g.
    e.g.
    Public Key for Encryption: 5407,1453704157
    Private Key for Decryption: 406488703,1453704157
    Now say you have a maxl file called login.mxl like
    login admin password on localhost;
    logout;
    You can encrypt it by calling
    essmsh -E c:\temp\login.mxl PUBLIC KEY
    So for this example it would be
    essmsh -E c:\temp\login.mxl 5407,1453704157
    This will create an file called login.mxls with encrypted login details e.g.
    login $key 6343689380045143584028576355606972733930 $key 1468602100275634090163724540502857635560 on localhost;
    logout;
    Now to execute the file you need to use the command
    essmsh -D c:\temp\login.mxls PRIVATE KEY
    so in this example
    essmsh -D c:\temp\login.mxls 406488703,1453704157
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Display session maxL command is hanging

    Hi All,
    I am using maxL editor in EAS console to execute the display session command.My requirement is to know the number of Active sessions in to a Essbase Application.
    I execute the following maxL command
    display session on database <APPLICATION_NAME>.<DB_NAME>;
    But when I execute this statement it is not executed rather EAS console is totally hanged.I tried it using another essbase server but result remains the same.
    I am able to execute other maxL commands like "display applicaion all" without any problem.
    I even tried to execute maxL using java API but even there it is hanging.
    I there anything I am missing or anything I can do to execute the command.
    will really appreciate quick response.
    Thanks,
    Abhishek

    For me the solution was in the essbas.cfg: NO_HOSTNAME_LISTCONNECT TRUE
    Help says:
    NO_HOSTNAME_LISTCONNECT Configuration Setting
    When using the display session MaxL statement to view active login sessions, specifies whether to convert the IP address of the client computers that are logged into Essbase to the computer’s hostname.
    When set to TRUE, IP addresses are not converted to hostnames, which improves the performance of the display session MaxL statement. [7314737]
    Hope it helps,
    Antonio P.

  • Run Maxl command in fdm

    Hi,
    Is it possible to execute any maxl commands in FDM. If so could you pls let me know how to do it.
    Thanks,
    Hima

    Hi,
    I tried executing a sample batch script and it working fine, but then I just added the essmsh E:\test.msh in the batch file and run FDM.
    Its not working. The maxl file is not working. I used shell.run to execute the bat file.
    The batch file is having the essmsh (calling a maxl )
    Can you let me know where I am going wrong.
    And pls help me to know the API functions to be used to execute the calc scripts.
    Thanks,
    Edited by: user10720012 on Mar 2, 2011 1:41 PM

  • Maxl command to logout users for particular application

    Hello Everybody,
    Can you please help me on the below question.
    I have essbase 11.1.2.2 and I have a maxl script which does copy of applications A to B for maintenance, but during this process, the script logs out all the users from the system even though users dont access to A and B since they working on other applications eg., C, D and E.
    Currently I see the below command for logging out all users in the maxl script.
    "alter system logout session all force"
    Can you please let me know how I can logout user accessing only particular applications/database ( example A and B) in maxl script instead of logging out all the users from Essbase.
    Thanks for your help in advance.

    You can use...
    alter system logout session on application A force
    You will need to use one command per application.  Further details in the documentation for the same command (alter system):  http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altsys.html  In particular, see the section titled "Session Specification" in the notes at the end.

  • Maxl command that differentiates ASO and BSO?

    I want to differentiate between the ASO and BSO db in Essbase(9.3.1) using some MAXL command.
    Do we have some MAXL command that shows the property of Databases?
    I was hoping to use the command
    execute aggregate selection on database ASOSamp.Sample
    This command gives an error when run on a BSO.
    Ex:
    *[admin/localhost]execute aggregate selection on database Sample.Basic
    Execution Message:
    MaxL requires an aggregate storage application for this operation.*
    I was wondering if Maxl generates a return code for this. If it does, how can I capture this return code?

    To give a vague answer, you could run the command in your maxl script and use an iferror statement. It will not tell to the error number but that the command failed.
    Edited by: [email protected] on Oct 13, 2008 1:10 PM
    If I could only spell

Maybe you are looking for

  • Is it possible to split audio separate while playing a game and chat

    While listening music and in the meantime play a game or have a chat session, I  find it disturbing that the audio from the game or chat session runs at the same time as the audio from the music. Ik makes me nervous. Is it possible to use 2 different

  • HT1338 MY MAC BOOK PRO CRASHES EVERY TIME I TRY TO USE APP STORE UPDATES

    Every time I try to download anything from the app store including updates, itunes etc I get an error message which says itunes shut down sorry for the inconvenience system crash and a list of jargon.

  • Can i convert a pdf to an exel file using x

    can i convert a pdf to an exel file using x

  • Photosmart c7280

    I have problems printing on card 255gsm. The card jams in the carriage at rear. Printer is shown as capable of taking photo paper up to 280 gsm. Is this a problem with double sided printing carriage?? SKT 

  • IPhoto backup of Albums

    When I copy the Pictures folder to my new external HD, the Albums subfolder is incomplete. Additionally, if I try to archive the Albums folder, copy it to the new ext. HD and then unarchive it, I get Error 22: Invalid Argument. The new HD is a MyBook