Sorting Outline using Maxl

Hi All,
I need some help. I am building the outline using essbase studio. When the "Period" Dimension is created the dates are in random order. I want to sort the Period dimension using some automation ( like maxl...) . Its an ASO cube.
Kindly advice.
Thanks
Andy

That is a studio thing. On the right hand side of the screen are the metadata members. whatever member you use for period, edit it and you will see a sort option. add the column that makes sense to sort on. For example if you your periods are in a column called period_Num, then I know this will give me the periods in numeric order. But if you are bringing in periodname (ie jan, feb, etc0 you will want to pick the column that will give you them in number order.

Similar Messages

  • Setting a outline for a application using maxl

    We are using maxl to load data into essbase application/db. We have a predefined otl file. How do I programmatically set the otl file as the outline for my application. I know that I can use shell to copy the otl file to the appropriate app folder. I am using Maxl from a remote machine. Hence, I do not have access to the folders on the server machine.Thanks a lot for your help.Sridevi

    1.The best way would be, ftp the otl file to specified location, if you have access. Get shared ftp access to the specific folder.2.You can try the copy the db or app using Essbase Command.I dont think there any other alternative ways out.

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

  • Error: 1030001 while Dimension Building using MaxL

    Hi,<BR><BR>I am bulding dimesions using MaxL import statement. My script<BR>builds the diemsions properly. But in Logfile, It shows this <BR>error without generating any error files.<BR><BR>......<BR>.....<BR>OK/INFO - 1021000 - Connection With SQL Database Server is Established.<BR>OK/INFO - 1021002 - SQL Connection is Freed.<BR>OK/INFO - 1007132 - Building Dimensions Elapsed Time : [0.781] seconds.<BR>ERROR - 1241101 - Unexpected Essbase error 1030001.<BR>OK/INFO - 1019017 - Reading Parameters For Database [Drxxxxxx].<BR>OK/INFO - 1019012 - Reading Outline For Database [Drxxxxxx].<BR>......<BR>...<BR><BR>Can anybody can help me out with it? I know that Error: 1030001 is geneated<BR>due to API or path problems, I checked all paths, all is good.<BR><BR>Thanks in advance,<BR><BR>Marma

    We are getting this error too. I believe that the error occurs because Essbase tries to evaluate outline before you finish building all of your dimensions. To me, it should be a Warning, not an Error. But my experience with Essbase is that anything that has to do with GUI or presentation of information to its developers (non-scrollable text boxes, log info, etc.) is lousy, so this is not a surprise. I had to build a logic in my batch programs to ignore this error when parsing log file for errors in execution. Hope you can do the same.

  • Delete Attribute Dimension Using MAXL

    Hi everyone,
    Is there any option to delete attribute dimension using MAXL? Our requirement demands to delete and reload every night. Please suggest if anybody has did this before.
    Thanks!

    A post of the same sort of topic area :- HOW can i delete the members in dim using MAXL
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Copying substitution varibale using Maxl script

    Hi,
    Ive been trying to copy application using Maxl script in essbase to take backups. Everything gets copied except substitution variables. Could some one help me in sorting out this issue.
    Is there any specific Maxl Command to copy substitution variable alone from one application to another, if so could u please share it with me.
    thanks

    Hi,
    Unfortunately, as John said, there is no command to copy the subvars. One of my colleagues ran into this same issue on one of my projects. He ended up spooling a script with display variable all command to show all your variables and write them to a text file. from there he wrote a batch file to parse the text file for each of the variables, and then updated the subvars in the backup application with these values.
    The thing you want to look out for here is that you want to make sure you properly handle checking for whether the subvar already exists in the backup application. If it does, you just want to run an update of the value. If it doesn't exist, you want to add it first. This is because there is no create or replace variable, so to avoid any errors, you need to be careful with that. I think you may want to look into some of the other alternatives John provided if you are still looking into this issue.
    Thanks,
    Daniel
    http://www.DVEPM.com

  • Sorting members using Load Rule Parent Child Method

    Hi all,
    I have a Product Dimension with around 7 gen's and wanted to sort Gen 3 members under parent (say CommProduct). All these members are initially loaded using Studio and i am trying sort Gen 3 members using a text file / Load Rule (Parent Child Method). I have "Allow Moves" ,"Allow Property Changes" and member sorting: None checked for the load rule. I tried updating the outline using the load rule, however the outline remains unchanged and members sorted by alphabets.
    Essbase Version: 11.1.2.3
    Current Hierarchy:
    Product 
               CommProduct
                                     A
                                     B
                                     C
                                     D
                                     E
    Hierarchy Wanted:
    Product 
               CommProduct
                                     A
                                     C
                                     E
                                     B
                                     D
    Dim Build Text File:
    Parent,Child,Aggregation
    CommProduct,A,+
    CommProduct,C,+
    CommProduct,E,+
    CommProduct,B,~
    CommProduct,D,+
    Any help would be highly appreciated.
    Thanks

    Can't you create a column where you can specify the desired order and build accordingly. I don't think you can achieve that using a load rule. Allow moves works only if the members are under a different parent. In your case it is the same parent.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Cannot Connect to Essbase Server Using MaxL

    After installing and configuring planning. I was able to create data source and application. When I shot down and restart the machine. The diagnostics report highlighted these srrors
    EPMVAL - 01010 can not connect to Essbase server using MaxL
    Network Error - 10061 unable connect to oracle.vision.com:1423. the client timed out waiting to connect Essbase Agent using TCP/IP
    Can some help please
    chi

    Hi John
    This is error from Sharedservices_security_client may it will you to identify the cause of this issue
    PMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-04T17:29:20.953+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-04T17:29:24.906+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T05:21:13.515+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T05:21:19.359+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T05:21:24.890+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T10:08:08.812+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T10:08:14.875+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    [2012-03-05T10:08:18.890+00:00] [EPMCSS] [ERROR] [EPMCSS-00001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
    Thanks
    Chi

  • Script to export Security file using maxl script

    can anyone provide me the Script to export Security file using maxl script.It should create a log file and a batch file should also be there to schedule the Maxl script.Please help me with this

    Hi,
    You can use something like
    [b]login admin password on localhost;
    [b]spool on to 'c:\temp\log.txt';
    [b]export security_file to data_file C:\temp\sec_file.txt;
    [b]spool off;
    [b]logout;
    Then you can have a batch file that just calls the maxl script
    essmsh name_of_maxl_script.mxl
    The batch script can then be scheduled.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Dataload error using MaxL on LINUX

    Hi All,
    I'm using Essbase 11.1.2.1 & working on ASO cube. I'm trying to load the data using Maxl on LINUX.
    This is the following error: essmsh error: End of File breaks the Statement.
    any ideas.......
    Thanks,

    rasch wrote:
    Hi,
    I am using DAQmx-base (C library) on Linux with a USB-6009 device. When I am acquiring data
    using DAQmxBaseReadAnalogF64() (the code is based on the example contAcquireNChan.c)
    everything works, but when I am using DAQmxBaseReadBinaryI16() the following error
    happens:
    DAQmxBase Error: Value passed to the Task/Channels In control is invalid.
    Everything is the same just the ...AnalogF64 is replaced by the ...BinaryI16 function call
    (of course the buffer used for storing the data was also changed from float64 to in16).
    Does anyone know what settings (or missing settings) result in this error?
    Every explanation or pointer to some documentation is welcome. I already checked the
    C reference HTML documentation coming with DAQmx-base without success.
    Thanks
    Raphael
    From the ReadMe file for DAQmx Base on Macintosh OS X:
    NI USB-9211
    *Analog Input
    -Multi-channel, multi-sample read (scaled)
    -Multi-channel, single sample read (scaled)
    NI USB-9215
    *Analog Input
    -Multi-channel, multi-sample read (scaled)
    -Multi-channel, single sample read (scaled)
    NI USB-6008/9
    *Analog Input
    -Digital start triggering
    -Multi-channel, multi-sample read (scaled)
    -Multi-channel, single sample read (scaled)
    Raw input simply isn't supported for the USB devices. I would guess that the situation for Linux is the same, since DAQmx Base is based on Labview code in order to achieve cross-platform portability. See the thread
    http://forums.ni.com/ni/board/message?board.id=250&message.id=11873
    and, for a slightly different problem:
    http://forums.ni.com/ni/board/message?board.id=250&message.id=11963
    Be sure to read down to where there is a message indicating that support for USB devices is planned for NI-DAQmx. Of course, that won't help on Macintosh and Linux.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Query on sorting  XML using XSLT and getting the same XML as output !

    Hi,
    Looking for one information regarding sorting XML using XSLT , with the sorted XML as output. For eg. my XML is :
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
    <levelone>
         <child ID="1" sort="5">
              <name>Paul</name>
         </child>
         <child ID="2" sort="1">
              <name>Adam</name>
         </child>
         <child ID="3" sort="2">
              <name>Will</name>
         </child>
    </levelone>
    and XSL :
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/levelone">
         <xsl:copy>
         <xsl:apply-templates>
              <xsl:sort select="@sort"/>
         </xsl:apply-templates>
              </xsl:copy>
         </xsl:template>
         <xsl:template match="child">
              <xsl:copy-of select="."/>
         </xsl:template>
    </xsl:stylesheet>
    This does the sort based on Name. But I want to get the same xml as output with the name sorted. Eg.
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
    <levelone>
         <child ID="2" sort="1">
              <name>Adam</name>
         </child>
         <child ID="1" sort="5">
              <name>Paul</name>
         </child>
         <child ID="3" sort="2">
              <name>Will</name>
         </child>
    </levelone>
    Any pointers will be highly appreciated.
    - Thanks

    Don't you want <xsl:sort select="name"/> rather than <xsl:sort select="@sort"/>?

  • 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

  • Sorting technique used by oracle for "order by" clause.

    Hi All,
    it could be very help to me if you provide some information about sorting technique used by oracle engine for order by clause.
    Issue i am facing :
    Table : xx
    Line Date
    1 05-06-2013 00:00:00
    2 05-06-2013 00:00:00
    when we query above table using order by date, it is returning line 2 prior to line 1. we would like to know why it is returning line 2 first?
    Regards,
    Ram

    >
    it could be very help to me if you provide some information about sorting technique used by oracle engine for order by clause.
    >
    Well ok - but be warned that many people wind up being sorry they ask that question. Hopefully Hemant's answer is what you really wanted.
    See 'Linguistic Sorting and String Searching' in the Oracle® Database Globalization Support Guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch5lingsort.htm
    Sorting will be controlled by the settings of NLS_LANGUAGE, NLS_SORT and NLS_COMP.
    Here is the doc page for NLS_SORT
    http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch3globenv.htm#i1008393
    >
    NLS_SORT specifies the type of sort for character data. It overrides the default value that is derived from NLS_LANGUAGE.
    NLS_SORT contains either of the following values:
    NLS_SORT = BINARY | sort_name
    BINARY specifies a binary sort. sort_name specifies a linguistic sort sequence.
    >
    And the one for NLS_COMP
    http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch3globenv.htm#i1008458
    >
    The value of NLS_COMP affects the comparison behavior of SQL operations.
    You can use NLS_COMP to avoid the cumbersome process of using the NLSSORT function in SQL statements when you want to perform a linguistic comparison instead of a binary comparison. When NLS_COMP is set to LINGUISTIC, SQL operations perform a linguistic comparison based on the value of NLS_SORT. A setting of ANSI is for backward compatibility; in general, you should set NLS_COMP to LINGUISTIC when you want to perform a linguistic comparison.

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

  • Update Essbase Cfg setting using MAXL or ESSCMD

    Hi All,
    I want to change the essbase.cfg settings using MAXL or Esscmd. Is this possible? I could figure out changing Substitution Variables but am looking forward to change settings like CALCCACHE, etc...
    If yes, please let me know any insights on the same.
    Thanks,
    AJ.

    There is no pre defined feature that allows you to do this, but if you want to override the values in .cfg file, depending on what those values are, you can just set them in your calc script, ie: CalcCache, etc. It is best to do this manually anyway, as once you finished, you will need to recycle the Essbase service for them to take effect.

Maybe you are looking for

  • How to change the country code for Wireless channel usage

    My MacBook country code is set by Japan. In this case, I can use only 5.15~5.25 channels from ch#36 to ch48 at 5GHz Band. I'd like use the other channels..by other country code. How can I change the Wireless card country code?

  • How to change translation text in XLF file without re deploying?

    Hi All, I want to change the translation text of WebDynpro application without using NWDS. The application is already deployed in Production. Is there any way to change the translation text directly from the server (without changing the message in XL

  • How to execute a report in Query Designer

    Hi Expert, I found that I can execute some report by IE in query design, but some are not support, When I clicked "Execute" Button,  no response and no error message. is there any special setting need to be done? Thank you in advance

  • Can we debug the Workflow ?

    Hi All, I have created a method in the BO, it is working fine when i tested that BO. then i call that method in an activity step with required parameters, but that didnot work. Then i tested that Task that i used in that Activity step using SWUD tran

  • Transfer from iPad to Macbook pro

    Hello, I use to have a pc and it died, i bought a macbook pro and i would now like to transfer everything i have on my iPad (music, photos, etc ) onto my macbook but i don't know how to and my old computer is completely dead i can't get it to turn on