PatchingJob - setDescription

PatchingJob - setDescription

Description :

This command sets the description for a job. This command returns a handle to the updated job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

The handle to the Patching Job.

desc

String

The description for the job.

Example

The following example shows you how to set the description for a job.

Script


# Name of the existing job. 

JOB_NAME="patchingjob" 

# Job group in which Patching Job is stored. 

JOB_GROUP="/Workspace/Patching" 

# Get the Patching Job DBKey using the above information. 

JOB_DBKEY=`blcli PatchingJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME` 

# Set the Patching Job description. 

JOB_DBKEY=`blcli PatchingJob setDescription $JOB_DBKEY "Oracle DB Patching"` 



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

Comments