Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.

qName and scriptArg values for Cron Task Automation Script

From: Venkat.biet (2018-02-12 15:28)

Hi All,
Can you please let me know how to get qName and scriptarg values in automation script ?

I have defined a cron task that will launch my automation script. How do I retrieve the value of scriptArg that I have set in cron task instance parameter in automation script ?

I am getting below error when i use the variable scriptArg to retrieve the value as below
print 'ScriptArg' + scriptArg
NameError: name 'scriptArg' is not defined in <script> at line number 20

Also IBM site say I can use qName which is implicit variable to get Name of the cron task instance that is running the automation script as a cron task and I am getting error even for that
print 'qName' + qName
NameError: name 'qName' is not defined in <script> at line number 20

Has anyone tried use these variables ?

From: Venkat.biet (2018-02-20 23:16)

This has been resolved.
If anyone interested to know refer to the below post: