NSHScript - getNSHScriptParamValuesString

NSHScript - getNSHScriptParamValuesString

Description :

This command retrieves the parameters for the NSH Script Job as a string where each entry is shown as name::value pairs. 

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle to the NSH Script Job to retrieve the parameters values.

Example

The following example gets a DBKey of NSH Script Job, and returns the job's parameter values as a string.

JOB_FOLDER="/NSHScriptJobs"
JOB_NAME="NSHScriptJobWithParamters"
JOB_KEY=`blcli NSHScriptJob getDBKeyByGroupAndName $JOB_FOLDER $JOB_NAME`
JOB_PARAMETER_VALUES=`blcli NSHScriptJob getNSHScriptParamValuesString $JOB_KEY`


Was this page helpful? Yes No Submitting... Thank you

Comments