Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

JobRun - findRunKeyById_1

JobRun - findRunKeyById

Description :

This command is deprecated. Please consider using findRunKeyById .

This command returns the handle of a particular job run. You must provide a handle for the job and the ID for a job run. This command is useful if you know which run of a job you want.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Key for the job.

jobRunId

Integer

Run number of the job run.

Example

The following example shows how to select a job run by the job run number. This example selects the first run of a job.

Script


JOB_GROUP=/audits

JOB_NAME=audit_nocdb

RUNID=1 # take the first run.



JOB_KEY=`blcli AuditJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`

RUN_KEY=`blcli JobRun findRunKeyById $JOB_KEY $RUNID`

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

Comments