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

  1. Mayur Nilekar

    Seems like this command does not belong under NSHScript nameSpace

    this command is already documented under NSHscroptjob namespace

    Jun 27, 2019 06:28