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

Similar Messages

  • Maxl/esscmd to get list of applications/databases that user has access to

    Is there any maxl/esscmd to get the list of applications/databases that a user has access to?
    I know that LISTGROUPUSERS 'groupName' -- this list all users of a group.
    Can anyone help please?

    MaxL
    display privilege user SomeUser;

  • Essbase Maxl Issue - In UNIX

    Hi Everyone,
    We are trying to build dimension using maxl script in unix box.
    Facing syntax and unexpected error. Followed the steps as below.
    1.In Putty, navigated to bin folder and invoked maxl script using ./startMaxl.sh command
    2.logged in using  the command login 'username' 'password' on 'essbaseservername';
    3.Executed the import database command to build dimension having sql as source as below
       import database 'xxx'.'xxx' dimensions connect as 'bis_read' identified by 'bis_read' using server rules_file 'DimChn' on error write to '/home/essproj/Maintenance/Automation/Logs/CTO/Build/Channel1.txt'
    4.Executed the import database command to build dimension having datafile as source as below
       import database 'xxx'.'xxx' dimensions from data_file '/home/essproj/Maintenance/Automation/Source Files/CTO/Measures.txt' using server rules_file 'DimMeas' on error write to             '/home/essproj/Maintenance/Automation/Logs/CTO/Build/Measures_log.txt'
    Throwing the error
    ERROR - 1242021 - (1) Syntax error near ['/'].
    as well as
    ERROR - 1241101 - Unexpected Essbase error 1054036.
    5. We even tried to save the .mxl file in the utf-8 formate and tried to execute the .mxl file at that time we are getting the error as "Segment Fault" but we are using the super user credentials to do this activity.
    Please help on this

    Hi,
    Please using '\' instead of '/'. You can use spool in your mxl script to capture the error better.
    spool on to 'c:\dimbuild.log';
    MAXL Statements & commands;
    import database 'xxx'.'xxx' dimensions from data_file '\home\essproj\Maintenance\Automation\Source Files\CTO\Measures.txt' using server rules_file DimMeas on error write to             '\home\essproj\Maintenance\Automation\Logs\CTO\Build\Measures.log.txt';
    spool off;
    logout;
    exit;
    Also label's also would do the magic..!! Let us know us how it goes..!!
    Thanks
    Amith

  • Running esscmds on unix

    please let me know how to create a batch script for esscmds for automation on unix.

    In our environment we use mostly Maxl scripts. The scripts are executed using Unix Korn shell commands. The database administration guide outlines the syntax required. JMS

  • Maxl / Esscmd

    I noticed that there is no Maxl equivalent to IFERROR in Esscmd. Is there a way to stop a Maxl script if it encounters an error with a data load such as an unknown member?

    I don't believe it's on the Essbase side, as it uses a fairly standard API to allow string input to such things, and it's limitation is well beyond 512 chars even for a direct formula input.<BR><BR>I instead suspect that a carriage return/line feed is being inserted by the ODBC driver as part of it's output formatting, and this is causing the API to consider the input record "completed." I could be wrong, of course, but if you examine the Memo field closely, you may find the formatting to have migrated to the Access database, and even if not, you are still using ODBC to access it on the output side, so we're back to the same issue.<BR><BR>Perhaps it really is an issue related to the ODBC drivers in Essbase, but it's not unique to dim build, to formulas, or Essbase for that matter. Allowing a single field to <i>output</i> more than 512 chars in a single field is where I believe you will find the real issue.<BR><BR>Again, we need an ODBC expert to weigh in on this. <img src="i/expressions/face-icon-small-smile.gif" border="0"><BR>

  • MAXL & EssCmd with Linux

    Does anybody know if you can run Esscmd or Maxl scripts from a Linux server or workstation?

    <p>Yes u can</p>

  • Maxl script in unix

    Hi Experts,
    how to run the maxl script in linux platform in silent mode.I am invoking the maxl script through shell script. If I run the script linux screen shows all the dimension load status for all dimension.
    Thanks in advance.

    That's because STDOUT (which you have redirected to dev/null with ">") and STDERR are separate streams. The error / warning messages are on STDERR.
    Try redirecting with..>/dev/null 2>&1I'm not a shell scripting expert by any means; suggest Googling 'redirect STDOUT STDERR' to understand what's actually going on.
    EDIT: Since the OP has marked this post 'Correct' (Robert really had the complete correct answer first!) I have corrected the syntax to avoid confusion for anyone who gets here in future via search.
    Edited by: TimG on Oct 17, 2012 5:55 AM

  • MAXl in unix

    Hi All,
    I have written a maxl script in unix. In unix its not supporting the 'ENTER'. So , I have written all teh statemenst in a single line seperated with ';'.
    I have also tried with unix new line character like ESC 'o'. This is also not working fine.
    Can anyone please tell me what can we do to write different statements in different lines.
    Thanks

    I assume you are having the issue because you are using a windows editor and then trying to run the maxl script on a Unix system.
    Go download the freeware Notepad++, it's like Notepad on steroids.
    You can create your script in Windows, then it give options such as setting your "EOL" to "Unix Format".
    Robert

  • Why we use ESSCMD?

    HI,
    I am new in Hyperion, doing MaxL command assignments.
    Now I understand that whatever task we will do with maxL command the same task we will do by using ESSCMD.
    Then what is the difference between MaxL & ESSCMD?
    When should I go for startMaxL or ESSCMD?
    Is their any particular reason to use MaxL or ESSCMD?
    reply please.

    MaxL is the replacement for Esscmd. I don't know of anything you can do in Esscmd that can't be done in MaxL (I guess I disagree with John). However there are a lot of things that MaxL can do that Esscmd can't. For example ASO Buffered data loads, ASO Aggregation, Essbase Studio Deploy commands.
    There is one exception to my above statement, EsscmdQ as special version of Esscmd can do Essbase ASO outline compression that MaxL can't.
    If you have Esscmd statements you can convert them using a utility in the Bin Directory I think it is called Cmd2MaxL.exe

  • Variable in report script

    Is it possible to create create user defined variables in report script?

    You can't use an Essbase report script to set a substitution variable.
    You can set it in EAS or use MaxL (or Esscmd) to do so.
    See: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_variable.htm
    MaxL/Esscmd can be used to set a substitution variable and run a report script that references the variable.
    Regards,
    Cameron Lackpour

  • Essbase login failed & Cluster not available in Shared Services

    Hi,
    I have installed & configured the EPM 11.1.2.2 in compact deployment mode i.e. deployed to Embedded weblogic server. Shared Services, Essbase, Planning & Reporting are installed successfully.
    I am able to login to Shared Services, Workspace & EAS console with my admin account. But I am unable to login to Essbase from EAS console, MAXL & ESSCMD.
    When I am logging with MAXL or EAS console, I am getting login failed error.
    Even EssbaseCluster-1 is not available under Application Groups in Shared Services. Only Reporting & Foundation are there.
    Please help me what went wrong.
    Thanks,
    Naveen
    Edited by: Naveen Suram on Nov 6, 2012 3:25 AM

    SharedServices_Security_Client.log
    2012-11-06T14:40:41.071+05:30] [EPMCSS] [NOTIFICATION:16] [EPMCSS-20001] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.registry.RegistryManager] [SRC_METHOD: RegistryManager] Successfully initialized EPM System Registry access. This is a status messages. No action required.
    [2012-11-06T14:40:41.180+05:30] [EPMCSS] [NOTIFICATION:16] [EPMCSS-20002] [oracle.EPMCSS.CSS] [tid: 10] [ecid: disabled,0] [SRC_CLASS: com.hyperion.css.EPMSystem] [SRC_METHOD: getInstance] Initializing Shared Services security instance using EPM System Registry. This is a status messages. No action required.
    Essbase.log
    [Tue Nov 06 14:40:25 2012]Local/ESSBASE0///776/Info(1051283)
    Retrieving License Information Please Wait...
    [Tue Nov 06 14:40:25 2012]Local/ESSBASE0///776/Info(1051286)
    License information retrieved.
    [Tue Nov 06 14:40:25 2012]Local/ESSBASE0///776/Info(1311019)
    Classpath during JVM initialization: [;C:\Oracle\Middleware\EPMSystem11R1\common\jlib\11.1.2.0\epm_j2se.jar;C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseServer\java\essbase.jar;C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseServer\java\essbaseRegistry.jar]
    [Tue Nov 06 14:40:52 2012]Local/ESSBASE0///776/Info(1051199)
    Single Sign-On Initialization Succeeded !
    [Tue Nov 06 14:40:52 2012]Local/ESSBASE0///776/Info(1056815)
    Essbase 64-bit - Release 11.1.2 (ESB11.1.2.2.100B2166)
    [Tue Nov 06 14:40:52 2012]Local/ESSBASE0///776/Info(1051232)
    Using English_UnitedStates.Latin1@Binary as the Essbase Locale
    [Tue Nov 06 14:40:54 2012]Local/ESSBASE0///776/Info(1056797)
    Incremental security backup started by SYSTEM. The file created is [C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\ESSBASETS_1352193054.BAK]
    [Tue Nov 06 14:40:55 2012]Local/ESSBASE0///776/Info(1051134)
    External Authentication Module: [Single Sign-On] enabled
    [Tue Nov 06 14:40:55 2012]Local/ESSBASE0///776/Info(1051051)
    Essbase Server - started
    I am getting the following error in validation report:
    Validating Essbase Server connection to NAVEEN
    Error: Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051012): User native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER does not exist
    Recommended Action: Check Essbase Server is started.

  • How to change the Rule file Pointing Automatically?

    Guys,
    Is there any automated way to change the rule file pointing for any application \ DB.. If so, can anyone ellobrate it briefly.....
    Regards
    Srini

    Do you mean you want to use a dimension/data rule that you created in one database and use it in another? Or do you mean you want to reassociate the rule with its new database?
    The former is easy -- copy (or not, the rule can be local) the rule to the new location and use MaxL/Esscmd to load data/dimensions.
    If you mean the latter, I don't know of a way to do that -- typically copying a rule file would only occur when the dimensionality is the same.
    Or do you mean something completely different?
    Regards,
    Cameron Lackpour

  • Essbase 9.3.1, more time taken for data load.

    Hi,
    i am trying to load 15gb of data, (data is taken from two seperate database of oracle) to my ASO application directly.
    the load is very slow, what factors should i consider to make the load faster?
    Will incresing the RAM size help me in this context?
    i have gone through the admin doc of Essbase 9.3.1, in that the Hard-Disk and the RAM requirement is given, but it is for the Block storage.
    is there any difference between this estimation and the ASO estimation?
    If anyone can guide me, what things has to be taken care while loading the cube with huge data.
    i shall be very thankful.

    The statements which matters for the Aggregate storage is
    DLSINGLETHREADPERSTAGE FALSE
    DLTHREADSPREPARE Sample Basic 3
    The write(DLTHREADSWRITE Sample Basic 4) option doesnt have any impact on the writing speed of the data in the ASO.
    The statements has to be included in the essbase.cfg file, which is the configuration file of the Essbase server.
    Well as per the document this should be done throught the maxl ,Esscmd or the Analytic services console?
    Question?
    1) Should we simply put this statements in the essbase.cfg file without a semicolon? and restart the server/application?
    2) if these statement can be executed by the maxl? Please let us know how can we do that?
    3) How do we know what is the current level of thread being used for the Read/write?
    Thanks

  • Related to automation task in Hyperion

    Hi,
    I need to know which language is easy and worth to learn for automation of regular tasks in Hyperion.
    MAXL- OK
    ESSCMD-OK
    Does i also learn Perl or .net etc.
    Regards
    Kumar

    Hi Kumar,
    To write portable automation programs, I would recommend Perl, or other tools like ODI for automation.
    You would need MAXL/ESSCMD for executing Hyperion specific commands, while would need another scripting/Batch/Shell language or a tool like ODI, where you can directly run MAXL files etc.
    Cheers,
    RS

  • Migration and Shared Services

    Currently thinking about migrating two cubes: one in version 6 and one in version 7 to 11.1.2. Here are the steps I am considering following:
    - Recreated the applications in EAS version 11.1.2.
    - Copy over .otl, .rul, .csc etc files.
    - The .cfg files in 11.1.2 - not sure what to do about this one. Do they have to be the same as in the previous versions? What do I do about the configuration settings that have changed from the old versions to new versions.
    - Security. Version 6 and 7 dont have shared services. So does security have to be recreated from scratch?
    I found a wealth of info on migrations on these forums, but these two particular questions evaded me.

    For security have a look at the Advanced security manager, free tool :- http://www.appliedolap.com/free-tools/advanced-security-manager
    Failing that you could look at extracting the security information using maxl/esscmd then pushing it into 11.1.2 using maxl or LCM
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • SNMP Alert Destinations

    How does an SNMP alert destination configured within OSB actually submit its traps? For instance, I have an SNMP alert destination configured within OSB named "Dev", with SNMP trap enabled, and reporting/email/JMS disabled. I have services with SLA r

  • Can you somehow use Lightroom to rename RAW files?

    Okay let's say in one folder on my hard drive I have three RAW files: _DSC0001.NEF and _DSC0002.NEF and _DSC0003.NEF. Now let's say I have reformatted my memory card so my camera will once again start labeling new images with _DSC0001.NEF. So let's s

  • Suggestions for CAD software?

    Not sure if this is the best forum to post this question, but I am looking for good CAD application for Mac...I do not need anything too in depth (I'm a beginner) and all of my drawings will be primarily basic floor-plan layouts in 2D. I've looked at

  • Trouble Connecting to Cable Internet

    Recently I have been unable to connect back to the internet with my cable modem. A few months ago I tried using wireless internet from houses around mine and surprisingly it worked. (I realize this isn't TOTALLY legal.) Anyway, I have been trying rev

  • Backlight of the LCD monitor is not turning o

    For some strange reason, my Zen Micro, which was working perfectly until today, ran into a big problem. The backlight for the LCD monitor does not turn off, even when I shut it down. The backlight remains on until I remove the battery. I tried to adj