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.

Utility - exportBatchRun

Utility - exportBatchRun

Description :

This command exports the results (job run log) of a Batch Job run to a file. You must identify the job run by its run ID.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

runId

Integer

ID of the Batch Job run whose results you want to export.

exportFileName

String

Name of the file that holds the export.

Example

The following example shows how to export the job run result of a Batch Job.

Script





$RUN_KEY=`blcli JobRun findLastRunKeyByJobKey $JOB_KEY` 

$JOB_ID=`blcli JobRun jobRunKeyToJobRunId $RUN_KEY` 

blcli Utility exportBatchRun $JOB_ID "C:/temp/sampleJobResult.csv" 



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

Comments