MAxl script error
MAXL> execute calculation ABC.ABC.uncorp;
ERROR - 1051030 - Application ABC does not exist.
MAXL> execute calculation '@RELATIVE ("UNKNOWN CORP CODE",0);' on ABC.ABC;
ERROR - 1051030 - Application ABC does not exist.
Can any one help me why I am getting this error? Actually applucation was existed in the server and I am able to see it in adminconsole also. But I am not finding the root cause when I ran it in Command prompt by enabling maxl mode i am getting this error.
This error is because the Analytic Services cannot find the mentioned application directory.
Possible solution are:-
-> If the application was copied or deleted using file system controls (such as Windows Explorer or the cp or rm commands), create a dummy application with the original name and use Analytic Services copy or delete the application correctly.
-> Make sure that the directory exists in the correct location.
-> Make sure that you have the correct operating system privileges for the listed directory.
-> See if another user has locked the directory.
-> Make sure that the following environment variables are set correctly:
ARBORPATH (PC and UNIX)
PATH (PC and UNIX)
LD_LIBRARY_PATH (UNIX only)
Make sure that the security file is not corrupt.
If you are using ESSCMD, make sure that the application directory specified in the ESSCMD command is correct.
Similar Messages
-
Hi All,
i have a maxl script to export the level 0 data and also a shell script with command "*essmsh maxlscriptname.mxl*" in it, the version that i am working on is essbase 11.1.2 and the platform is in unix.
I have seen that, for the maxl script to work in version 11 we have to use the command "*startEssmsh.sh*" so that it sets all the variables and then runs the required script.
The problem is, i dont have startEssmsh.sh in my \bin directory and even if i change my shell script to "*startEssmsh.sh maxlscriptname.mxl*" its not working, it says that startEssmsh.sh not found.
Kindly let me know on how to run the mxl script in unix with no startEssmsh.sh file present \bin directory. Are there any manual steps to set up the variables and if yes, what are they.
Thanks,
AmoghThe script you are looking for is:
<MIDDLEWAREHOME>/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin/startMaxl.sh
In UNIX you will need to use the full path to startMaxl.sh unless you have <MIDDLEWAREHOME>/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin in your PATH statement.
Regards,
John A. Booth
http://www.metavero.com -
Maxl "on error write to" doesn't work in scripts, kinda
We have scripts that include the line:
on error write to '\\\planfoundprod\Oracle\Errors\Error01.err';
which work fine if there's an error.
If there's no error and I'm running the code in EAS MaxL Script Editor it will generate a null (zero-byte) file but what I'd really like is to have a null file generated as part of a MaxL nightly batch processes. The underlying issue is I know the last time the MaxL unsuccessfully ran but I don't know if things are still running or not. Daily .err files would permit me to quickly determine that.
Similar to what I'm hoping for are the outlineload.cmd scripts that /do/ generate the log file each and every time. I guess that's part of my thought process - while one is a log file while the other is an error file, error-free files are being generated in EAS so it seems this isn't just a pipe dream. TIA
-PhilMany times it's best not to dwell on what essbase can't do, and put that energy towards what you can do to compensate for it.
Obviously if you have it scripted, simply put a "touch" in the shell script to update a date/time stamp on a dummy file right after the dataload. (one example, for instance)
Robert
Edited by: RobertR3 on Dec 11, 2012 11:08 AM -
Error 1030001 in MAXL Script "BuildDimFile"
I have a MAXL script that successfully builds two of my dimensions using the SQL interface from Oracle. What's strange is, even though the script works, mid-way through MAXL log file, the following error appears: 9 - Essbase error encountered: [BuildDimFile:'test'] [1030001]. Then at the end of the file, it states: 51 - MaxL execution failed. The line in the script:import database '_test'.'_TESTKKU' dimensions connect as 'test' identified by 'test' using server rules_file 'D_Region' on error write to 'D_Region.err';Anyone have any idea why MAXL is reporting failure, when the script is actually working?
I've used the error handling in MAXL and have found that it gets bettter with every release. It still doesn't trap all errors, but it does catch most fatal errors.<BR><BR>You will want to test it in the particular script that you are using to ensure it does the job you need. When MAXL first came out, the error trapping was much less effective than with ESSCMD. Now we're working with 7.1.3 and find that it catches the things we really need to catch.<BR>
-
Maxl Script will not write to error file for data laod.
Sorry Glenn here is the new thread. I re ran without the semi colon after data 3 and the same error came up without anything being written to the error file.
I purposely removed a member from the orginal outline that is included in the data loaded but yet the error file is not written to. I tried doing the load manually but executing it in the background, error file is to be created on my local HD but it does not write it there. Checked the output and it is written to a directory located on the server. Although i think this is normal.
Could it be that it will not write to a local drive? I am going to try specifying a spot on the server to see if it runs there.
thanks
Original post below.
Hello,
I am also having this issue.
I will include my script below but will state some details before
We are on Essbase 11.1.1.3
I am running Admin Console from my client PC that connects to the server in the script and I read that in this set up the error file will not get written to. This documentation was for v 9.1.3
Here is my script (i changed some of the names)
login 'user' 'password' on server';
create application 'Money1' as 'Money2';
spool stderr on to 'errorfile';
import database 'Money1'.'Main' data
from local text data_file 'Money1_Data.txt'
using server rules_file 'Data3'
on error append to 'dataload.err';
execute calculation 'CALC ALL;' on 'Money1'.'Main';
logout;
spool off;
exit;
here is the error output i get:
code line: on error append to 'dataload.err';
Statement executed with warnings.
(3) Syntax error near ['$']
I don't see a dollar sign anywhere in my code and the error file does not get produced.
Also do error files get written too if the actins are executed in the background?
Thanks!
AlexThis works for me in a MaxL script run through essmsh.exe:
import database appname.dbname data from local text data_file "d:\\datafilename.txt" using server rules_file "rulename"
on error write to "d:\\errorfilename.err" ;Sometimes EAS (I think you are running it through that) does weird things to MaxL. I eschew MaxL in EAS as much as possible (like 100% of the time).
NB -- the datafilename and errorfilename and their drive letters are local to wherever you're running this process through the MaxL shell. I don't know how that works when you're running EAS -- are drives local to your session, local to the EAS server? Dunno. Leave EAS behind, buy TextPad (no I am not the author of that fine product) and download the MaxL syntax library, and be happy. :)
Regards,
Cameron Lackpour
Edited by: CL on Oct 7, 2010 7:12 AM
Put the MaxL into a code block to get it to display correctly. -
Looping in Maxl Script - To load multiple files
Hi,
I am using Essbase 11.1.2 on UNIX.
I have maxl script which will load 20 to 30 extraction file. Number is inconsistent. Extraction files will grow each month. Extraction files are with same name with the suffix _1,_2...(2 Gb thing). My previous script was hard coded to load file by file to load up to 50 files. I am trying to remove these hard coded lines, and try to loop the “load” statement. I have tried several ways using while loop in shell to call maxl /msh , but no luck. Any ideas?
ThanksA very similar question was asked recently (but for Windows): Re: Maxl to import datafolders
What have you tried? Maybe someone here can show you what's wrong with your script.
The approach I usually take with this type of problem is to write a script that dynamically builds one single MaxL script with the appropriate number of files, rather than calling MaxL multiple times.
I am generally too ashamed to share my Unix scripts, but at it's most basic, non-error-trapped, probably-inadvisable-and-full-of-holes-for-all-kinds-of-reasons, you could include something like this to build your load script:
ls filename*.txt | awk {'print "import database etc... "$1" ...on error etc;"'} > scriptname.mshSince you can nest MaxL scripts, you can then reference scriptname.msh from a static 'master' script which handles login / spool on / spool off / logout as appropriate. See http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_commands_nesting.html or Cameron's 2009 K'scope presentation: http://odtug.com/apex/f?p=500:575:526121996615242::NO::P575_CONTENT_ID:4605 -
ODI fails when running MAXL scripts
HI,
We have a problem with ODI where when a scenario has a maxl script as a step the scenario fails.
This is not a problem in our production environment but it is present in our DEV and TEST environments. We believe it may be a problem with the cloning process from PROD.
Has anyone had this issue previously or can provide some helpful direction.
Regards
Luke
ODI 10.1.3.5What is the error you are getting at the failure point?
-
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. -
This maxl script works perfectly when run within EAS maxl editor (minus the login and spool), when we run it via a .bat file the calculation will run but nothing else.
Any help please????? thanks!!!!!!!
Here's the maxl script:
login '*****' '******' on devhypeb01;
/*spool on to '\sacfs1\data\Apps\Hyperion\DEV\Logs\Clear_Build_Load.log';*/
/*Clear out Actual and Projection before loading new members and data*/
execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
/*Load new members*/
import database Dev_Ace.AceRptg dimensions
connect as 'user1' identified by 'password' using server rules_file 'Both'
on error append to 'C:\memberload.err';
/*Load Data*/
import database 'Dev_Ace'.'AceRptg' data
connect as 'user1' identified by 'password' using server rules_file 'Both'
on error append to 'C:\dataload.err';
/*Load new member aliases*/
import database 'Dev_Ace'.'AceRptg' dimensions
connect as 'user1' identified by 'password' using server rules_file 'AliaBLD1'
on error append to 'C:\Aliasload.err';
spool off;
logout;
ERROR FILE:::::::::
MAXL> execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Actual)].
OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
OK/INFO - 1017018 - Removed [0] data blocks.
OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Projection)].
OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
OK/INFO - 1017018 - Removed [0] data blocks.
OK/INFO - 1012579 - Total Calc Elapsed Time for [clrAnP.csc] : [43.437] seconds.
OK/INFO - 1013274 - Calculation executed.
MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
2> connect as 'user1' identified by 'password' using server rules_file 'Both'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\memberload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> import database 'Dev_Ace'.'AceRptg' data
2> connect as 'user1' identified by 'password' using server rules_file 'Both'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\dataload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
2> connect as 'user1' identified by 'password' using server rules_file 'AliaBLD1'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\Aliasload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> logout;MaxL quotes are a stinker and trip people up constantly. It wouldn't surprise me in the least if EAS' MaxL editor worked differently than "the real world".
I wrote a whole blog post on MaxL and quotes (who would have thought there was a subject there, but if you wade through the cutesy muck, there is value there):
http://camerons-blog-for-essbase-hackers.blogspot.com/2009/10/escaping-maxl-quotes.html
The two rules I follow are:
1) Use double quotes
2) Double escape backslashes
FWIW, you can also use single forward slashes.
The inconsistencies are confusing.
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 -
Maxl script unable to read/write to a folder
When logged in to EAS, we are trying to run a maxl script to read/write to a report script in a particualr folder on the server. Even though the eas login username has write permissions to that folder, the maxl keeps saying: unable to open file.
Is there any internal Hyperion service account that should specifically have write permissions to the folder?
here is the maxl:
SPOOL ON TO 'D:\Oracle\WE.log;
LOGIN 'username' 'password' on 'server1';
ALTER SYSTEM LOAD APPLICATION 'Plan1';
ALTER APPLICATION 'Plan1' LOAD DATABASE 'Main';
export database Plan1.Main using report_file 'D:\Oracle\WE.rep' to data_file 'D:\Oracle\WE.rpt';
SPOOL ON TO 'D:\Oracle\REV.log';
When we run it, we get the following error:
It gets past the alter systen and alter application commands, and then:
'Unable to open file ['D:\Oracle\WE.rpt']Have you tried running it from a maxl session and not EAS, if you are testing using maxl you may need double backslashes instead of single ones.
Have you tried with the report script in the database app folder and using the server option - export database Plan1.Main using server report_file 'WE' to data_file 'D:\Oracle\WE.rpt';
Cheers
John
http://john-goodwin.blogspot.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/ -
Essbase Studio MAXL scripts not running
Hi All,
I am currently working on Essbase Studio 11.1.2.0. with Windows 2007 sp1 with 64 bit operating system . I have my datasources set to oracle database.
I am trying to create an outline through maxl scripts. My essbase services etc are running fine.
Steps of execution with the command are given below:
1. Click on the Start button, click on run, enter cmd
2. create the following maxl script named as ocreate.scr using notepad and save it. The login and password are correctly defined.
======================================================================================================
deploy outline from model 'BestModel' in cube schema '\Mydirect\Cube Schemas\Best' login 'XXXXXXX' identified by 'XXXXXX' on host 'UDANASESSBA1' to application 'test' database 'test' using connection 'Essbase_QA_Connection' keep 100000 errors on error ignore dataload write to default;
exit;
========================================================================================================
3. Run the above script as :
Essmsh ocreate.scr
On running the above script I get the following error:
===================================================
Essmsh.exe has stopped working
====================================================
Can anyone help here.
Thanks in advance
BkI believe there was an issue with deploying studio using 64bit Maxl, the workaround was to deploy using 32bit Maxl.
More information available in Oracle Support - "Error "essmsh.exe has stopped working" with MAXL Deploy Script Generated from Essbase Studio on Windows 64-bit [ID 1382589.1]"
Cheers
John
http://john-goodwin.blogspot.com/ -
Wildcard in MaxL Script??
Can you use a wildcard in a MaxL script to find a file in a specific location?
Example>>
import database app.database data
from local text data_file 'C:\HyperionDataFiles\dataload*.dat'
using rules_file 'C:\hyperion\AnalyticServices\app\app\database\dataload.rul'
to load_buffer with buffer_id 15
on error write to 'C:\hyperionerrors\dataload.err';
In would this find any file with the dataload name?? Ie dataload_today.dat??You don't mention the operating system, but I would create a single maxl statement to load a file as it's own script. In the script, I would use a variable to represent the file name. Then in the calling batch or shell script, I would find the actual file name and pass it as a parameter to the script. If there are multiple files that match the criteria, I would loop through each file and pass it. (of course, after I was done, I would move the files to a histroy folder so I didn't process them again.
Maybe you are looking for
-
How do I create 2 seperate iTunes account for me and my daughter
I already have a iTunes account. Just got my daughter a iPod...BUT I don't know how to create a seperate iTunes account for her on the same computer. I do not want her to have my play list and visa versa.
-
hi have anyone an idea how can i make screenshoot from my scene without the class robot? at moment i use the Robot class to make screenshoots from my sceene Rectangle screenRect = new Rectangle(20,10,800,600); try{ Robot robot
-
I want to generate two reports from one execution. One has to be default html and the other needs to be text (the text is basically for the reprots to be automatically picked up an analysis utility/tool. I am fowlloing an approach where I doubled the
-
FxScript plug-ins and OS 10.6.3 problems?
Hello All, In my on-going process to find out what happened to some of my plug-ins in FCE4 I wanted to find out if there is anyone else out there that is running 10.6.3 and are able to use FxScript plug-ins or is this something that is wrong on my co
-
Retrieving ESSBase data from Microsoft Access
Hello Can anyone advise on how to pull data from Essbase directly into MS Access rather than via Excel? Thanks