NSHScriptJob - getNshErrorPropertyName


NSHScriptJob - getNshErrorPropertyName

Description :

This command retrieves the NSH Error Property Name. This command returns the NSH Error Property Name.

Return type : String

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle to the NSH Script Job to retrieve the error property name from.

Example

The following example gets a DBKey of NSH Script Job, and returns the NSH Error Property Name.

Script


JOB_FOLDER="/NSHScriptJobs"

JOB_NAME="NSHScriptJobWithErrorPropertyName"

JOB_KEY=`blcli NSHScriptJob getDBKeyByGroupAndName $JOB_FOLDER $JOB_NAME`

JOB_PROPERTY_NAME=`blcli NSHScriptJob getNshErrorPropertyName $JOB_KEY`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation Command Line Interface 22.2