NSHScriptJob - clearNSHScriptJobParamOptionsByGroupAndName
NSHScriptJob - clearNSHScriptJobParamOptionsByGroupAndName
Description :
This command clears the list of NSH script parameter run time options for an NSH Script Job. You must provide the name of the job and the fully qualified path to the job group where the job is stored.
If you want to edit a parameter run time option, you must call this command and then re-create the parameter run time options list by using addNSHScriptJobParamOptionsByGroupAndName .
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobGroup | String | Full path to the job group containing the NSH Script Job. |
jobName | String | Name of the NSH Script Job. |
Example
The following example shows how to clear the list of NSH script parameter run time options for an NSH Script Job.
Script
JOB_GROUP=/test
JOB_NAME=nshscript
JOB_KEY=`blcli NSHScriptJob clearNSHScriptJobParamOptionsByGroupAndName $JOB_GROUP $JOB_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*