Hyperion Planning (MOSC)

MOSC Banner

MAXL Script - How to pass $1 and $2

edited Sep 23, 2015 6:36AM in Hyperion Planning (MOSC) 7 commentsAnswered ✓

Hello,

I would like to have a MAXL Script to update the substitution variables in Hyperion Planning, but I don't want to hardcode them in the script.

I was thinking in having a file, so the customer will update the file and run a batch script.

How can I do this? How can I pass $1 and $2?

My MAXL Script:

set ApplicationName = 'XXX';

set SpoolFile = '/fcaststg/logs/SetSubstitutionVariable.log';

login admin identified by password;

iferror "ErrorHandler" ;

spool on to $SpoolFile;

iferror “ErrorHandler” ;

/* Setting the substitution variable */

alter application XXX set variable "$1" "$2";

iferror "ErrorHandler" ;

spool off;

Logout;

exit 0;

define label "ErrorHandler" ;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center