I've recently started playing with Automation Scripts in Maximo 184.108.40.206 with the help of this IBM document:
It lists a number of explicit variables like app, user, mbo, scriptName...
When trying these, a few are not recognised. For example, the line:
causes error message "name 'scriptName' is not defined in <script>"
properly puts the username in the Maximo log.
The same error happens for variables scriptHome and mboname.
Does anyone have experience with using these variables ?
This topic has been locked.
4 replies Latest Post - 2012-12-14T06:44:02Z by Sujita
Pinned topic Automation Scripts: explicit variables
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-14T06:44:02Z at 2012-12-14T06:44:02Z by Sujita
Bowser 2700006MWE79 PostsACCEPTED ANSWER
Re: Automation Scripts: explicit variables2012-09-04T14:36:41Z in response to SystemAdminThese are "implicit" variables... they are always defined as documented when your script starts to execute. "Explicit" variables are the ones you define for your script and then bind when you configure Launch Points.
Never use the implicit variables that have been included for backward compatibility. scriptHome was used in version 7.2.x of Tivoli Service Request Manager (TSRM), Tivoli Asset Management for IT (TAMIT) and the Tivoli Change and Configuration Management Database (CCMDB). The "scriptHome" implicit variable was replaced in Base Services 7.5 with "mbo".
Hope that helps,
Sujita 2700039CGF44 PostsACCEPTED ANSWER
Re: Automation Scripts: explicit variables2012-12-14T06:44:02Z in response to SystemAdminHi,
If i give, print " MBO Name = ",mbo like this in the source code of the script in Maximo v7.5, when i am executing this i am getting error "NameError: name 'mbo' is not defined"