Execute Maxl script on Linux
Hi,
Can you tell me how can i execute the .mxl scrip on the Linux server?
should i create the .sh file? for that which command i can use?r another way to call the .mxl file?
Thanks,
Hello everybody:
I have got a similar problem under Solaris.
I call my mxl file as:
+./startMaxl.sh /<file path>/file.mxl 'Month 01' 'Year 2010'+
but file is not being executed, MAXL console is showed instead.
Why this does not work?. I use Essbase 11.1.1.2 and I have read related posts but I have not found any answer to my problem.
My script code is:
login admin password on localhost;
alter database OLOGISMO.Mov set variable Month $1;
alter database OLOGISMO.Mov set variable Year $2;
logout;
What is wrong with +./startMaxl.sh+?. I have tested the same code in Windows and works properly (using this as parameters '"\"Month 01\""' '"\"year 2010\""'. If I were using essmsh, could be environment variables, but I am using startMaxl.sh, right?
Thank you.
Regards
Javier
Similar Messages
-
Essmsh executes maxl script, but does not end
Hi, I could really need some help with a Maxl script I've built for a customer.
The script builds the account dimension several times in a row. Each time for a different Alias Table.
I choose this method, instead of the Load Alias_Table method, because I don't want to load Aliases for all members in all dimensions. Just only for the account dimension.
When running the script from a batch file manually, nothing seems wrong, however when running the batch file from HAL essmsh never finishes.
This is what happens in HAL:
a batch file is executed containing the following command:
call Essmsh D:\JDE2GL\Bin\Maxl_UpdateOutline.txt
The Maxl_UpdateOutline.txt contains the following Maxl script:
login {user} {password} on {server};
spool stdout on to 'output.txt';
spool stderr on to 'errors.txt';
alter database {application}.{database} unlock all objects;
alter system unload application {application};
import database {appliaction}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_Def'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_Def.err';
import database {application}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_BEL'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_BEL.err';
import database {application}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_FRA'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_FRA.err';
import database {application}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_USA'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_USA.err';
import database {application}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_SPA'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_SPA.err';
import database {application}.{database} dimensions
connect as '{SQLuser}' identified by '{SQLpassword}' using server rules_file 'DmAc_ARG'
preserve all data on error append to 'D:\\JDE2GL\\Outbox\\MaxL_UpdateOutlineAc_ARG.err';
spool off;
logout;
exit;
In the "Outbox" directory I can see the error log files, with some warnings on duplicate member names appear.
In the Essbase Application Log file, I can see that all dimension builds were executed succesfully.
The spool file output.txt nor the errors.txt are created when running from HAL.
I've used this HAL procedure thousands of times with one dimension build without any problems, even with more dimension builds it didn't give any errors until recently.
Does somebody have any ideas..? Would be much appreciated!
Thanks,
RudyHi,
we work with the exit label as follows:
alter database ...
iferror getmeout;
alter database ...
iferror getmeout...
define label "getmeout";
spool off;
logout;
EXIT;
the spool off and logout command should be part of the defined lable (in your case, too), otherwise you wouldnt logout your session if an error occurs.
Kind regards
André -
Problem with executing shell script on linux through java code.
i am facing problem to kill jboss process on linux that is my application requirement. for that i created one shell script that will get all the process for jboss instance and kill them when i am running that script from command prompt on linux its working perfectly.
The command i am using ---
/opt/RW9/jboss/v4.0.5.GA/bin/restartjboss.sh.
but when i am running through java code its not working.
the java code i am using is:-
pp = Runtime.getRuntime().exec(new String[]{"/bin/sh", "-c", "/opt/RW9/jboss/v4.0.5.GA/bin/restartjboss.sh"});
could anyone tell me what is the problem ?
Edited by: akm198110 on Sep 2, 2008 9:24 AMI got the problem after long struggle ,after doing proper path i am able to execute the shell script..
-
How to execute sql script from linux command line
Hello everyone !
Just short question. On my server I must install script in crontab which will eexecute some sql statements.
How can I write command which will execute script from file without asking about password ?
sqlplus user/pass ... and then what ?
thanks
dlugasxuser10064952 wrote:
Just short question. On my server I must install script in crontab which will eexecute some sql statements.
How can I write command which will execute script from file without asking about password ?Crontab does not run your local shell profile - which means no valid Oracle environment for SQL*Plus to execute in.
On newer cron versions, you can add an environment to the crontab file itself that needs to be set before executing the scheduled command.
Whatever method - make sure you have ORACLE_HOME set, that the path includes ORACLE_HOME/bin, that ORACLE_SID is set (if not using a TNS alias) and so on.
But I agree with Sybrand... crontab is not the best place for running SQL or PL/SQL code. That should reside in the database as named code (e.g. stored procs) and be executed via DBMS_JOB or DBMS_SCHEDULE.
Less moving parts that way. No external dependancies. And will work on any Oracle server, irrespective of the o/s used and whether or not the relevant o/s user has batch/cron/etc privs to do the deed. -
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 SCRIPT TO EXECUTE IN BACKGROUND THE DATA LOAD
Hi,
I have problem with a MaxL script, I don´t know the command to execute a data load in the background, someone knows??? it would be very grateful if you can help me because now I have to load the data manually and then tick execute in background.
Thanks for your help
Regards,If the two processes are in no way dependent on each other, why not just use two separate MaxL scripts and run / schedule them separately?
If you really need to launch multiple MaxL operations against different cubes to run in the background from a single script you can only do this with a shell / command script, not 'natively' in MaxL. If you're on Windows and using CMD, for example, see the 'START' command.
--EDIT: Crossed over with Sunil, think he pretty much covers it! -
Execute Calc script in Maxl with compained all script
Hi,
I have nearly 20 Calc script in one of the application. I need to run all the script once I change the calc script.
Execute calculation default 'databasename.application-name' ;
Is there any command in MaxL directly use to run all the calc script?
Kindly let me know.I'm not sure why anyone would want to run 20 scripts. If I wanted to do that I would combine them into one or two. If your heart is set on running ALL the scripts in your database, You could do something like create a generic MaxL script like:
Execute calculation sample.basic.$1
then in your batch script have a statement that selects all of the files that end in .csc for the directory and pass them to the script essmsh mymaxl.mxl Filename
I'll assume either the scripts are named in the order you want them to run or you could rename them with a numberic to indicate the run order. -
How to execute sql-queries through shell scripting in linux?
How to execute sql-queries through shell scripting in linux?
http://www.oracle.com/technology/pub/articles/saternos_scripting.html
Two simple examples:
#!/usr/bin/env bash
set_orafra () {
orafra=`echo 'set heading off
select name from v$recovery_file_dest;
exit' | sqlplus -s / as sysdba`
set_orafra
echo $orafra
#!/usr/bin/env bash
export ORACLE_SID=instance_name
export ORACLE_HOME=/path_to_oracle_home_directory
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=/$ORACLE_HOME/bin/$PATH
$ORACLE_HOME/bin/sqlplus -s <<EOF
connect scott/tiger@my_instance_name
INSERT INTO table VALUES (sysdate);
exit
EOFEdited by: Markus Waldorf on Sep 17, 2010 12:19 AM -
UNIX Shell Script - Maxl - executing 4 Maxl script at the same time
Hi,
I wrote a UNIX shell script that basically call 4 maxl script to execute at once. But it seem to executing 2 maxl and then it goes to the last script. So, script 4a,4b,4c, & 4d should execute all at the same time. But for some reason at random only two script is being executed. And then it would go to script 5. Anybody have any answer to why it's doing this? Or is it something i'm doing it is incorrect help please?
I'm running essbase 11.1.2
Here is my script:
#!/bin/sh
# Maxl script to run
export MAXL_SCRIPT_1=/hyperion/..../script1.maxl
export MAXL_SCRIPT_2=/hyperion/..../script2.maxl
export MAXL_SCRIPT_3=/hyperion/..../script3.maxl
export MAXL_SCRIPT_4a=/hyperion/..../script4a.maxl
export MAXL_SCRIPT_4b=/hyperion/..../script4b.maxl
export MAXL_SCRIPT_4c=/hyperion/..../script4c.maxl
export MAXL_SCRIPT_4d=/hyperion/..../script4d.maxl
export MAXL_SCRIPT_5=/hyperion/..../script5.maxl
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_1 "
wait
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_2 "
wait
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_3 "
wait
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4a " &
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4b " &
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4c " &
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_4d " &
wait
/usr/bin/sh -c "cd /hyperion/...../bin/; ./startMaxl.sh $MAXL_SCRIPT_5 "
echo Done.
Thanks,
MarkThanks!
I just noticed that the problem was due to something *within my application*.
I explain:
i built an application and I want it to be activated by my script.
I have another script running, but this is not a problem as I discovered later...
The problem is indeed that my script activates my application, but even when my application is opened, so it succeded, it stays hanged.
I found that the same thing does not happen with regulare applications, such as Safari or iTunes, so i narrowed down the probglem to my application...
Is there something i should do to it?
I checked the "scriptable" checkbox inside my application plist, but the result is still the same... -
Execute a script in a Linux machine from a Java application
Hi,
I am trying to execute a script in a Linux machine from a Java application on a Windows environment. My code is
commande="rsh 185.30.30.30 -l goku /newfolder/bench/bin/Agent start ";
try{
Process process = Runtime.getRuntime().exec(commande);
catch(Throwable t){}
It works fine but the script takes too much time to start (almost 3 minutes). My question is there exists anther way to execute the script, another command? I have already tried ssh but windows doesn�t recognize it
If somebody has any idea please let me know...
ThanksThe script starts and stops a process (Agent) so it doesn�t take too much time to execute itself. It is when I execute the script from my java program that i must wait to watch my process running in my Linux server.
-
Error while executing the script adgetlnxver.sh
Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
-bash: [: -lt: unary operator expected
[aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
adapcctl.sh version 115.55
/u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
Apache Web Server Listener :httpd ( pid 8645 ) is running.
Restarting the Apache Web Server Dedicated HTTP Listener..
Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
Restarting the Apache Web Server Dedicated PLSQL Listener..
adapcctl.sh: exiting with status 0
In adgetlnxver.sh: line 123 says
if [ ${setflag}x = "x" -a $os = "RH" ]; then
redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
if [ $redhatver -lt 5 ]; then
LD_ASSUME_KERNEL="2.4.19"
export LD_ASSUME_KERNEL
fi
fi
Thanks,
VamsiHi Vamsi.
The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
Can you read this note and apply solution? The note refers a patch, but the problem is the same.
After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
BR Rafael Ceolim -
Weird problem using "Login" in MaxL script
Hi there
I have created a MaxL script for loading som data into an Essbase. The script you can see below.
login 'user' 'password' on 'nkm18k14';
import database 'realtest'.'Loadtest'
data from text data_file '\\nkm18k00\Planning\Loaddata\lonbud.txt'
using server rules_file 'LonBLoad'
on error write to '\\nkm18k00\Planning\Errorlogs\realtest.txt';
When I try to execute it, as it is i get the following error "(3) Syntax error near ['$'], which im guessin is line 3, right?
When I remove line 1 (the login statement), the script runs just fine. What is goin on, any ideas?
I as a user have write acces to the network locations specified, could it be that the essbase uses som kind of system user that doesn't have acces to the network location?
Any valuable input will be appreciated.
Regards, JacobIt's true that they are not "needed" from a security approach, but from a maintenance approach you still end up having to touch a large number of scripts if you store the connection details in them.
As a system user, you don't even have to change the password -- but if you have someone leave the company you may just want to.
Either way, I would never want to hard code connectivity details inside dozens of scripts when I can keep it in a single place.
Here is the MXL_Shell file for Windows -- you can obtain the SendEmail.exe from multiple places, but the syntax should be validated.
The location of the scripts, log files, and batch items can of course be modified to your liking as well...
The Errors that are ignored are stored in a file called "IGNORED.TXT" in the Batch directory (see below for what I ignore).
@echo off
REM ================================================================
REM MXL_Shell.cmd - Wrapper to call EssMsh (MXL) scripts
REM ----------------------------------------------------------------
REM Author: Doug Bliss
REM Initial QC: 5/21/2005
REM ----------------------------------------------------------------
REM Script to Execute should be base name (without extension)
REM Script should exist in the ..\Scripts directory
REM Both StdOut and StdErr are redirected to ..\Logs\<Script>.log
REM Call activity is logged to ..\Logs\Daily_ddmmyy.log
REM Log file is appended to ..\Logs\<Script>.hst at finish
REM Log file is processed for "Error" tokens to determine if
REM the result was successful or not
REM Notifications are taken from comment blocks in the script:
REM /* Notifications:
REM ONSUCCESS [email protected]
REM ONERR [email protected]
REM */
REM Localization details: Update the variables set immediately below (typically SRCPATH and EMAIL*)
REM ================================================================
SET SRCPATH=C:\Automation
SET EMAILDOM=<yourcompany.com>
SET EMAILRELAY=<relay>.%EMAILDOM%
SET DEVBOX=<devboxname>
SET IGNORE=%SRCPATH%\Batch\Ignored.txt
SET MXLFILE=%SRCPATH%\Scripts\%1.mxl
SET LOGPATH=%SRCPATH%\Logs
SET LOGFILE=%LOGPATH%\%1.log
SET ERRFILE=%LOGPATH%\%1.err
SET HSTFILE=%LOGPATH%\%1.hst
SET DAYFILE=%LOGPATH%\Daily_%date:~4,2%%date:~7,2%%date:~10,4%.log
REM ################################## Step 1: Sanity Checks
IF "%1"=="" EXIT /B 1
IF NOT EXIST %MXLFILE% EXIT /B 2
REM ################################## Step 2: Initialize Log entries
IF NOT EXIST %LOGPATH%\. MKDIR %LOGPATH% >nul
IF EXIST %ERRFILE% MOVE /Y %ERRFILE% %SRCPATH%\Logs\%1.bak.err >nul
IF EXIST %LOGFILE% MOVE /Y %LOGFILE% %SRCPATH%\Logs\%1.bak.log >nul
REM ################################## Step 3: Call the Script
ECHO %time% -- Calling EssMsh Script: %1.mxl %2 %3 %4 %5 %6 %7 %8 %9 >>%DAYFILE%
ECHO ============================== ESSBASE SESSION LOG >%LOGFILE%
ECHO Log Opened: %date% %time% >>%LOGFILE%
CALL User.cmd
essmsh.exe -s %COMPUTERNAME% -u %UID% -p %PWD% %MXLFILE% "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" >>%LOGFILE% 2>&1
REM ################################## Step 4: Post Processing
REM #### Daily Log Entry (return call)
ECHO %time% -- Returned from Maxl Script: %1.mxl >>%DAYFILE%
ECHO Log Closed: %date% %time% >>%LOGFILE%
ECHO ============================== END OF SESSION >>%LOGFILE%
REM #### Process Error entries and filter via Ignored.txt file
TYPE %LOGFILE% | FIND "ERROR" >%ERRFILE%
FOR /f "tokens=1" %%a in (%IGNORE%) DO TYPE %ERRFILE% | FIND /V "%%a" >%ERRFILE%
FOR %%a in (%ERRFILE%) DO SET /a ErrCount=%%~za >nul
IF '%COMPUTERNAME%'=='%DEVBOX%' (
SET TYPE=NON-Production
SET SVR=development
) ELSE (
SET TYPE=Production
SET SVR=production
IF %ErrCount% EQU 0 (
ERASE /Q %ERRFILE%
SET SUBJECT=Essbase %TYPE% Script Completed
SET MESSAGE=Maxl script '%1' has successfully completed on the %SVR% server.
SET ATTACH=
SET RESULT=SUCCESS
) ELSE (
REM ################################## ERROR Processing
SET SUBJECT=Essbase %TYPE% Script Error
SET MESSAGE=Errors were detected in Maxl script '%1', the job's log and error files are attached.
SET ATTACH=%LOGFILE% %ERRFILE%
SET RESULT=ERR
TYPE %MXLFILE% | FIND "ON%RESULT%" >Notify.tmp
FOR /f "tokens=2" %%a in (Notify.tmp) DO SendEmail -f %COMPUTERNAME%@%EMAILDOM% -t %%a -u "%SUBJECT%" -m "%MESSAGE%" -s %EMAILRELAY% -a %ATTACH%
ERASE /Q Notify.tmp
ECHO. >>%DAYFILE%
ECHO. >>%HSTFILE%
TYPE %LOGFILE% >>%HSTFILE%
:FIN
ECHO.
EXIT /B %ERRCOUNT%Here is my IGNORED.TXT file (only the code itself is used, the rest is for reference).
0000000 This file contains Essbase Error codes which should be ignored by ESS_Shell.cmd or MXL_Shell.cmd
1051083 This substitution variable does not exist.
1003029 Encountered formatting error in spreadsheet file [%s]
1090010 Error in File [%s] Which is a [%s] Spreadsheet
1051068 Database is not in archive read-only mode -
I'm having trouble with running a MAXL Script. I have a macro in Access that creates my load table. The last command in the macro is "essmsh loadcube.msh".The shell will open, but doesn't take input from the file. The file contents are:login user pswd on server;set message level all;import database Invstmnt.Invstmnt data from data_file 'C:\Hyperion\Essbase\Client\loadinv05.xls' using rules_file 'T:\App\Invstmnt\Invstmnt\Data05.rul' on error append to 'C:\Hyperion\Essbase\Client\errorinv.log';execute calculation 'SET MSG ERROR; CALC ALL;' on Invstmnt.Invstmnt;logout;exit;Is this incorrect??? These steps work fine when I key it into the shell.
I am making the assumption you want to update a substitution variable, not a 'global' variable. Symantecs of course as they are global, but hope I get you heading down the right path.
Yes, you'll need to use the Alter Database command. You must first drop the variable then add the variable you want.
ex:
alter database $4.$5 drop variable pyryear;
alter database $4.$5 add variable pyryear;
alter database $4.$5 set variable pyryear "FY07";
obviously this is a snipit of code I have from a MaxL automation with positional variables included, but this should have you heading in the proper direction. -
Auto-kick off MaxL script after Oracle GL data load?
Hi guys, this question will involve 2 different modules: Hyperion and Oracle GL.
My client has their accounting department updating Oracle GL on a daily basis. My end-user client would like to write a script to automatically kick off the existing MaxL script which is for our daily data load in Hyperion. Currently, the MaxL script is manually executed.
What's the best approach to build a connection for both modules to communicate with each other? Can we use a timer to trigger the run? If so, how?#1 External scheduler.
I've worked on Appworx and it has build a chain dependent task. There are many other external schedulers like Tivoli,....
#2 As Daniel pointed out you can use Windows scheduler.
For every successful GL load add a file to a folder which is accessible for your Essbase task.
COPY Nul C:\Hyperion\Scripts\Trigger\GL_Load_Finished.txt
Create another bat file which is scheduled to run on every 5 or 10 mins (this should start just after your GL Load scheduled task)
This is an example i've for a triggered Essbase job.
IF EXIST %BASE_DIR%\Trigger\Full_Build_Started.txt (
Echo "Full Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Custom_Build_Started.txt (
Echo "Custom Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Post_Build_Batch_Started.txt (
Echo "Post Build started"
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Full_Build.txt (
Echo "Trigger found starting batch"
MOVE %BASE_DIR%\Trigger\Start_Batch.txt %BASE_DIR%\Trigger\Full_Build_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Build_All_Cubes.bat
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Custom_Build.txt (
Echo "Trigger found starting Custom batch"
MOVE %BASE_DIR%\Trigger\Start_Custom_Batch.txt %BASE_DIR%\Trigger\Custom_Build_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Build_All_Cubes_Custom.bat
) else (
IF EXIST %BASE_DIR%\Trigger\Start_Post_Build_Batch.txt (
Echo "Trigger found starting Post Build batch"
MOVE %BASE_DIR%\Trigger\Start_Post_Build_Batch.txt %BASE_DIR%\Trigger\Post_Build_Batch_Started.txt
call %BASE_DIR%\Scripts\Batch_Files\Monthly_Post_Build_All_Cubes.bat
)So this bat file if it finds Start_Full_Build.txt in the trigger location, it'll rename that to Full_Build_Started.txt and will call the Full Build (likewise for custom and post build)
Regards
Celvin
http://www.orahyplabs.com -
Maxl Script running Issue in Essbase 11.1.2.2
Hi All,
We have a Maxl Script which takes Level 0 Backup of the Database. We have migrated the apps to the new server 11.1.2.2 and this script is not running in the new server but it works fine in the Old Server.We have the code like this in the script
REM $1 = USERNAME
REM $2 = PASSWORD
REM $3 = servername
REM $4 = BSOAppName = RPSBSO
REM $5 = BSODB_Name = RPSBSOD
REM $6 = ASOAppName = RPSASO
REM $7 = ASODB_Name = RPSASOD
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
When i run the .bat script an Fatal Error is shown under the above line saying
MSH Fatal Error: Error Initializing localization module.
I have changed all the path locations,server names etc according to the new environment in the script but the script is displaying error like above. Can any one help me on this.
Regards,
Naveen972698 wrote:
Hi John Thanks for your post.
I would like to give some more information like this is the script named BU_BSO_2.bat which is used for taking backup of individual application RPSBSO, and it calls Backup_BSO.msh script which is internally called in BU_SO_2.bat file as given below the command. What we do is we just run this BU_BSO_2.bat batch file where it executes everything and places the backup in given path in the script. But actually its giving error in executing only the given below line
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
Error shown : MSH Fatal Error: Error Initializing localization module
And i went through your doc but they are the server specific paths which we are not using in this script and this script runs fine in 11.1.1.
Let me know if i can provide any more information.
Regards,
Naveen
Try updating
essmsh C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
to
startMaxl.bat C:\Hyperion\Automation\MAXL\Backup_BSO.msh Username password gvw3086-v.atlanta.hp.com RPSBSO RPSBSOD RPSASO RPSASOD
If the location of startMaxl is not in the windows path variable you will need to either update the path variable or put the path in the script e.g.
C:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat
or C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMaxl.cmd
Alternatively edit startMaxl and take the variable information out of it and put it in your script then you will be able to use essmsh.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Mac Mini Airport Sporadic Reception
I've been dealing with the same issues for 2 months and 4 visits to the apple store. The problem is basically the same but slightly different than other posts on the same subject. I set up the Intel Mini in our room and once the high speed was hooked
-
How to implement approval on password reset from OIM 9.1
I am having an requirement where i need to implement Manager Approval on user's every password reset from OIM 9.1.02. Please help me out with your suggestions. Thanks, Kanav
-
Hello! I bought few USB Fingerprint readers... And I'm wondering is it possible to get some technical documentation (papers)... Scheme for instance... Model Number FP06... Thanks in advance...
-
hi everyone, my pages, specifically this one are taking an age to load. i know there is a lot of music on this page, but that's why i used flash instead of drag and dropping with QT. even the frames around the pics take as long as the flash buttons.
-
Reader won't open any files. It did last week.
Ok so I opened a pdf with My windows 8.1 reader and printed it fine, but now I come to do it a week later and the reader won't open anything. I just click on it and nothing happens. No error message, nothing. It's not just this one file, the reader