ComplianceJob - getDBKeyByGroupAndName


ComplianceJob - getDBKeyByGroupAndName

Description :

This command gets the DBKey for a job. You must provide the job name and full path to the job group containing the job. This command returns a handle to the job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified path to the job group containing the job.

jobName

String

Name of the job.

Example

The following example shows you how to get the DBKey of an existing Compliance Job.

Script


# Name of the existing Compliance Job.

COMPLIANCEJOB_NAME="compliancejob1"

# Job group in which Compliance Job is stored.

COMPLIANCEJOB_GROUP="/parent/group1"

# Get the Compliance Job DBKey using the above information.

COMPLIANCEJOB_DBKEY=`blcli ComplianceJob getDBKeyByGroupAndName $COMPLIANCEJOB_GROUP $COMPLIANCEJOB_NAME`



 

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

TrueSight Server Automation Command Line Interface 23.1