Skip to main content
Version: 10.1

Getting job properties from Batchrunner

You can get a runtime property of a batch job currently being executed from the Batchrunner component.

This type of call returns a runtime property of the batch job currently being executed.

Syntax

INVOKE     BatchRunner.GetJobProperty WITH
SELECT    {
            data_directory
          | task:data_directory
          | task:filename
          | task:set:filename
          | jobname
          | inputset
          | outputset
}

The optional parameter that corresponds to the information you want to retrieve must be passed.

Example

INVOKE     BatchRunner.GetJobProperty WITH
SELECT     CURRENT_ACCOUNT:INPUT_SET_1:filename

Parameters

ParameterReturns
data_directoryThe data directory for the job.
task:data_directoryThe data directory for the specified task.
task:filenameThe filename for the task.
task:set:filenameThe filename for the export task set if task is an export task.The filename for the driving set if task is an import task.
jobnameThe name of the job being executed.
inputsetThe name of the Input Parameter Set of the job being executed.
outputsetThe name of the Output Parameter Set of the job being executed.