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

Similar Messages

  • ASO and BSO Transparent partition

    Hi
    I have couple of questions regarding transparent partition, please help me out,
    1) I have two ASO cubes and one empty BSO cube, do I need to run security (apply filters) on both ASO and BSO cubes?
    2) How should I give access to users? For example: what should I write as "..."identified by" ....
    TO 'VZB_ISu'.'VB_IS' AT "localhost"
    AS "....." IDENTIFIED BY "....."
    AREA '"2006","2005",@IDESC("Month"),@IDESC("Scenario"),@IDESC("Measure_Type"),@IDESC("Measures"),@IDESC("Accounts"),@IDESC("RegionCompany"),@IDESC("Company"),@IDESC("RegionOrganization"),@IDESC("Organization"),@IDESC("Affiliate"),@IDESC("Product"),@IDESC("Ledger_Code"),@IDESC("Region"),@IDESC("Country")';
    3) Are their specific ways to tune an empty BSO cube transparently linked to ASO cube? BSO cube has no data.
    Thank you
    Namita

    Hi,
    1) You only need to set security on the BSO db (I'm assuming the users will not be connecting directly to the ASO db). When you setup your partition you define what user will be used to login to the ASO database. When ever an end-user retrieves data over the partition it's the partition user that logs into the ASO database to retrieve the data. You only need to make sure that the user defined in the partition has sufficient rights to retrieve that data.
    2) You can either use EAS to create the filter or MaxL...this is the example for create/replace filter: create filter sample.basic.filt1 read on 'Jan, sales', no_access on '@CHILDREN(Qtr2)';
    3) Try an avoid too many dynamic calcs in the target. These will obviously affect the retrieval times.
    Gee

  • Sharing complex substitution variable values between ASO and BSO databases

    We have ASO and BSO Essbase database member names with spaces in, and need to store some of these member names in substitution variables. However, this has to be done differently for ASO and BSO, due to calc script syntax requiring double quotes and MDX requiring square brackets. For example:
    ASO:
    &CurWeek value = Week 1
    MDX: [&CurWeek]
    BSO:
    &CurWeek value = "Week 1"
    Calc Script: &CurWeek
    As a result, the substitution variables cannot be shared between the ASO and BSO cubes, since the BSO variable value requires double quotes due to the space in the member name.
    Is there a way to get the above to work with both ASO and BSO? Can the double quotes be escaped in calc script syntax? Or can the double quotes be removed in the MDX formula?

    Hi TimG,
    Apologies for such a late reponse to this, genuinely haven't had a spare second to reply until now!
    Yes, I suspect a complex alias name may be the best solution here, and to remove the spaces from the actual member names.
    I was not aware of the latter part at all. My colleague has confirmed as much on this too - DBAG 11.1.2.1 pp117 & 118:
    "Note: If a substitution variable value is numeric or a member name starting with a
    numeral or containing the special characters referred to above is to be used both
    in MDX and non-MDX situations, create two substitution variables, one without
    the value enclosed in quotation marks and one with the value in quotation marks."
    "To ensure that a new substitution variable value is available in formulas, partition definitions,
    and security filters, stop and restart the application. All other uses of substitution variables are
    dynamically resolved when used."
    This last paragraph is the most concerning since we were planning to be able to update substitution variables values and then access the new values from calc scripts and formulae instantaneously. This quirk is unexpected and a little inconvenient. We may have to look at scheduling a change of substitution variable value overnight, followed by a stop/start of the app ready for the next day, and to work around needing to access changed values instantly.

  • Impact of write-back on large data cubes(Both ASO and BSO)

    Hi All,
    We are in the phase of designing the Essbase Cubes(both ASO and BSO).
    Has anyone encountered issues performing a write-back on large Essbase data Cubes?
    With Regards,
    Madhan

    Hi,
    Do you mean data load from a flat file or sql or simply lock and send? An estimate size of your record set would also help.
    I get 30 million records into an ASO cube in about 5 minutes from SQL using load rules. This is in 11.1.2.1.
    Thanks,
    Nathan

  • MaxL command to import users and security in eas

    Hello,
    I would like to know if there is a command that allows Maxl export and then import the list of users native EAS and filters.
    In summary, I have a few applicationsversion 9 essbase to 11.1.2.2, via migration wizard. my essbase 11 is in standalone mode with SSO configuration to MSAD external authentication. In version 9 essbase security is mounted on the shared services.
    My question is, if I take my file essbase.sec version 9 and the copy in version 11, to get my native users and security filters. Will I lose my config sso?.
    Thank you in advance
    Edited by: 851398 on 25 sept. 2012 09:20

    851398 wrote:
    My question is, if I take my file essbase.sec version 9 and the copy in version 11, to get my native users and security filters. Will I lose my config sso?.It is probably not adviserable trying to copy your essbase.sec between versions or environments,
    You could look at the advanced security manager as an alternative solution to extracting the information, it is free and definitely worth a go - http://www.appliedolap.com/free-tools/advanced-security-manager
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Export - import between ASO and BSO cubes of different structure

    Hi everybody!
    I have a 'large' ASO cube with information for a period of several years.
    I need to be able to load a smaller slice (e.g. one quarter) from the 'large' cube into a BSO cube with a different (simpler) structure , perform calculations and then load the updated data back to the 'large' ASO cube.
    What's the best way to approach this (import - export)?
    Thanks in advance,
    Alex

    Hi GlennS,
    Hello and thank you again for the help.
    I'm running version 9.3.1
    The ASO cube has 12 dimensions plus 8 attribute dimensions.
    The BSO cube - 8 dimensions plus 2 attribute dimensions.
    Data size:
    The ASO cube is about 1 GB, about 16 M input level cells. Only about 10 % of it will be extracted and loaded into the BSO cube.
    The BSO cube is ~ 300 MB fully calculated. 300,000 existing blocks
    I prefer not to load the BSO cube from the same source as because ASO cube contains not only the source data, but also modifications - for example - allocations etc. I would like to keep these modifications and to be able to load (modified) data to BSO, make additional modifications and then 'save' the modified data back to the ASO.
    How should I approach loading data back to the ASO? I will need to 'replace' a slice of ASO cube - delete the 'old version' cells and load new version from the BSO cube.
    Thanks,
    Alex

  • Run dos command that starts program and program stay open

    I'm running the following code,
    string m_file= "c:\program\program.exe" ;// runs a program
    Process myProcess = new Process();
    myProcess.StartInfo.FileName = @programtextBox.Text.Trim();
    myProcess.StartInfo.Arguments = m_file;
    String m_arguments = myProcess.StartInfo.Arguments.ToString().Trim();
    myProcess.Start();
    It works fine except I need the program to stay open that this command starts. But it closes while it's in the process of starting.

    I had a mistake in what I posted in my code. Here it is again with corrections, and more detail.
    string m_run= "c:\my programs\adobe\photoshope.exe" //This is saved in the program and can be set to any program the user wants to use. it's saved in the programtextBox.Text noted eailer, which is saved to the hard drive.
    string m_file= "c:\file\anypicture.jpg" ;// picture that is selected in the interface.
    Process myProcess = new Process();
    myProcess.StartInfo.FileName = m_run;
    myProcess.StartInfo.Arguments = m_file;
    String m_arguments = myProcess.StartInfo.Arguments.ToString().Trim();
    myProcess.Start();
    This is a windows form program.
    It looks to me like you're either redacting or modifying your actual code before posting.  I could be wrong about that, but I'm pretty sure because:
    If you were calling Process.Start() against program files/adobe/photoshope.exe I believe that you'd get a Win32 Exception since I don't think that file exists in any photoshop installation.
    I sincerely doubt that you're actually working with "file/anypicture.jpg."
    I'm confused by the declaration of m_arguments which is never used.  I assume it is in fact used somewhere in your code.
    Finally, you have stated that the program to open files with is pre-defined, so I suspect that data is actually being pulled from a variable instead of from a hard string as in your "example."
    If that's the case then you might as well go shoot yourself in the foot, since that would do exactly as much good as asking for help with broken code and then posting pseudo-code instead of what doesn't work.  It's like telling an auto mechanic your
    car dies every time you hit 22 miles per hour, while delivering your bicycle for service.
    Content Removed

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

  • My apple keyboard had some problems, the store replaced it for me. I had to sign in to my computer, and couldn't get to pair the keyboard with the computer, as could not sign in. I know there is a command that lets you override this, does anyone know whic

    My apple keyboard had some problems, the store replaced it for me. I had to sign in to my computer, and couldn't get to pair the keyboard with the computer, as could not sign in. I know there is a command that lets you override this, does anyone know which buttons to  press.  I gather when you do this, a box comes up and pairs the two with a number you have to type in.

    Hi rpaspinall,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    Apple Wireless Keyboard: Difficulty during pairing process
    http://support.apple.com/kb/ts1569
    Best of luck,
    Mario

  • Capture and Save SQL Command that Ran in OLEDB Data Source

    Hi,
    My company is using SSIS to occasionally generate a file that is then being loaded into a transactional system.  At this point, things are not fully automated; the SQL query that is used for the data source is manually altered, SSIS is run, and the
    file is uploaded to the other system.  Every time the SSIS package runs, a log entry is created with summary information.
    I'm wondering: is it possible to capture the SQL command that runs in the data source, and save it with the log entry as part of the package run?  This would provide an accurate historical record of what filters were applied to the data that was loaded
    to the transactional system.
    Any thoughts/comments would be appreciated.

    Hello Smith,
    What I understood from your question that you want to know the query which is running in SSIS Data Source and same you want to insert into a table.
    Below query gives you what all queries are currently running on a specified DB:
    USE [SAMPLE_DB_NAME]
    SELECT  distinct getdate(), command, s.text, start_time, percent_complete, CAST(((DATEDIFF(s, start_time, GetDate())) / 3600) AS int) AS Long, CAST((DATEDIFF(s, start_time, GetDate()) % 3600) / 60 AS int) as LongMin, CAST(((DATEDIFF(s, 
                          start_time, GetDate())) / 3600) AS varchar) + ' hour(s), ' + CAST((DATEDIFF(s, start_time, GetDate()) % 3600) / 60 AS varchar) + 'min, ' + CAST((DATEDIFF(s,
                           start_time, GetDate()) % 60) AS varchar) + ' sec' AS running_time, CAST((estimated_completion_time / 3600000) AS varchar) 
                          + ' hour(s), ' + CAST((estimated_completion_time % 3600000) / 60000 AS varchar) + 'min, ' + CAST((estimated_completion_time % 60000) 
                          / 1000 AS varchar) + ' sec' AS est_time_to_go, dateadd(second, estimated_completion_time / 1000, getdate()) AS est_completion_time, blocking_session_id, r.status, last_wait_type,
    r.open_transaction_count, r.session_id, client_net_address, 
     CONVERT(VARCHAR(20), sp.host_name) as hostname, 
     CASE WHEN program_name = '.Net SqlClient Data Provider                      ' THEN 'Reporting Service'
     ELSE CONVERT(VARCHAR(50), program_name) 
     END as program_name,
     sp.login_name as name
    FROM         sys.dm_exec_requests r CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) s INNER JOIN
                          sys.sysusers u ON r.user_id = u.uid
    INNER JOIN sys.dm_exec_connections dec ON dec.session_id = r.session_id INNER JOIN SYS.dm_exec_sessions sp on r.session_id = sp.session_id
    WHERE text not like 'SELECT     getdate(), command, s.text, start_time, percent_complete%'
    AND text not like '%sys.sp_trace_getdata%'
    AND text != 'sp_server_diagnostics'
    ORDER BY start_time
    You can schedule this query to run in 2-3 second and can capture the T-SQL and insert into a table.
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • 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

  • 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

  • Conditions Need to decided for ASO or BSO cube?

    Hi
    Could you please tell me on what conditions or business needs we need to decided whether we need to build an ASO or BSO cube?,
    which dimension needs to be Label only or Stored or Accounts or Multiple Hierarchy Enabled property?
    Which needs to be Dense & which needs to be Sparse if it is BSO cube?
    Could you please let me with an example with above question that would be helpfull.
    Thanks,
    Raj

    For dense data sets and Analytic databases ( databases with complex calculations ) and read/write databases we will go for BSO.
    In BSO we can load high and apply the pushdown calculations.
    For large dimensionality and sparse data sets and for read only database we will go for ASO.
    In ASO we can load at leaf level only.

  • Drill through Funtionality Across different cubes (ASO to BSO to ASO)

    Hi All,
       I have one complicated problem. I have one essbase ASO cube where the We load the account data on most granular level (Generation 7) and then it rolls up the data in generation 5 and that generation 5 data is pushed to another cube ( BSO ) for which generation 5 is in BSO cube which in turn push the data in ASO1 at generation 5.
    Now user want to log into ASO1 to see the data and want that if user need to see more granular level data (Generation 7), user can be able to see without getting logged out or loggin into another cube.
    Any solution or suggestion how it can achived.
    Cheers
    AB

    Hi Celvin,
    Yes you are right. The data is ASO rolls ups to become Level0 in ASO1. but there is mapping which needs to be done between ASO and ASO1 which is kinda i am worry about.
    Eg Profit centre in ASO is 11000 and 12000 mapped to  ASO1 at PC2078 (both level zero).
    Account in ASO(Level zero) rolls to Gen5 which mappes to Level zero in ASO1.
    i was thinking of making alternate hierarchy in ASO instead of using mapping and integration tool. (Since we are messing up ASO cube).
    in account and
    in this way the Drill will be good. and no data mapping required between ASO to BSO and ASO to ASO1.
    Please let me know your thoughts/input/suggestions on this solution.
    Cheers
    AB

  • How to run a maxl command

    Sorry for the very basic question, but I don't know where to start with it...
    What do I have to do to run a maxl command?
    I suppose I have to do something from Essbase administartion services, right?
    Thanks

    What version of EPM are you on?
    If its 11.1.1.x, go to command prompt & type essmsh and enter. See if that opens maxl session.
    If its 11.1.2.x, type startmaxl.bat instead of essmsh in above step & see if maxl session opens.
    You can execute MaxL statements in Essbase Admin. Console too.
    Regards,
    Santy.

Maybe you are looking for

  • G/L account and SRM

    Hi folks, Hope you are all doing great.Have these queries which need your attention. -Difference between G/L account and Account assignment categories? -In IMG,why do we have to "define G/L account for product category and account assignment category

  • PI 7.0 RWB & IE 8

    Hi experts, We are using usage type Process Integration of NW2004s SP18. We are planning to upgrade IE 6 to IE 8.0. But in my PI 7.0 for RWB I face the below errors: Message: 'ur_txt' is undefined Line: 3 Char: 7 Code: 0 URI: http://worlddpi:51200/ht

  • WebLogic 10.3.6 Times Out When Starting Web App

    When starting our web app on WebLogic 10.3.6 using startWebLogic.sh on OEL (8 cores, 64 GB box), after about 5 to 6 minutes we receive a timeout error from WebLogic saying that it timed out trying to start the web app. The web app has some pre-comput

  • About Local Calculations in query designer

    Hello Gurus,          please illustrate how to use following setting by example: 1. Calculate Result As. 2. Calculate Single Values As.. 3. Also Apply to Results. 4. Cumulative 5. Calculation Direction Many thanks, Frank

  • Error While installing 10g

    Hi Initially, in my system, i installed oracle 9i and uninstalled . Now when i try to install oracle 10i , system throwing error like this 'Error Reading setup Initialization file' I do not know How to handle this error. Please guide me how to overco