Passing properties from one job integration to another job in the same job stream instance

This topic shows how to pass properties from one job integration to another job in the same job stream instance.

You can export job properties from one job integration to reuse them as variables in a successive job in the same job stream instance. The variables are resolved locally on the agent at run time. To add a job property within a successor job, use the following syntax:
${jobs.<job_name>.<property_name>}
where
<job_name>
is the name value or alias name value of the job from which you are exporting the property values
<property_name>
is the property that you are referring to. The <property_name> value is case insensitive.
Only the following job integrations can pass properties to other successor jobs:
IBM Sterling Connect:Direct jobs
Properties for IBM Sterling Connect:Direct jobs shows the list of properties that you can pass from one IBM Sterling Connect:Direct job to another and indicates the mapping between the Extra information properties of the job and the properties that you can use.
File transfer jobs
Properties for file transfer jobs shows the list of properties that you can pass from one file transfer job to another and indicates the mapping between the Extra information properties of the job and the properties that you can use.

Since you can use wildcards to specify a partial name condition, you can transfer more than one file within the same job, and you have one full set of properties for each transferred file.

JSR 352 Java Batch jobs
Properties for JSR 352 Java Batch jobs shows the list of properties that you can pass from one JSR 352 Java Batch job to another and indicates the mapping between the Extra information properties of the job and the properties that you can use.
Database jobs
Properties for database jobs shows the list of properties that you can pass from one database job to another and indicates the mapping between the Extra information properties of the job and the properties that you can use.

Properties for IBM Sterling Connect:Direct jobs

Table 1. Properties for IBM Sterling Connect:Direct jobs
IBM Sterling Connect:Direct properties that can be passed in another job definition IBM Sterling Connect:Direct job Extra Information properties
${jobs.<job_name>.PrimaryNodeAddress}
Primary Node Address
${jobs.<job_name>.PrimaryNodeUserID}
Primary Node User
${jobs.<job_name>.SecondaryNodeName}
Secondary Node Name
${jobs.<job_name>.SecondaryNodeUserID}
Secondary Node User
${jobs.<job_name>.ProcessName}
Process Name
${jobs.<job_name>.DestinationDisposition}
Destination Disposition
${jobs.<job_name>.ProcessFileName}
Process File Name
${jobs.<job_name>.ProcessFileLocation}
Process File Location
${jobs.<job_name>.CompressType}
Compression Type
${jobs.<job_name>.CheckPointRestart}
Check Point Restart
${jobs.<job_name>.ActionSelected}
Action Selected
${jobs.<job_name>.SourceFilePath}
Source File Path
${jobs.<job_name>.DestinationFilePath}
Destination File Path
${jobs.<job_name>.ProcessNumber}
Process Number

Properties for file transfer jobs

Table 2. Properties for file transfer jobs
For the file number counter, the properties that can be passed in another job definition (a set of properties for each transferred file) For the file number counter, the job Extra Information properties (a set of properties for each transferred file)
${jobs.<job_name>.File.counter.LocalFile}
File.counter.LocalFile
${jobs.<job_name>.File.counter.LocalUser}
File.counter.LocalUser
${jobs.<job_name>.File.counter.Protocol}
File.counter.Protocol
${jobs.<job_name>.File.counter.RemoteFile}
File.counter.RemoteFile
${jobs.<job_name>.File.counter.RemoteUser}
File.counter.RemoteUser
${jobs.<job_name>.File.counter.Size}
File.counter.Size
${jobs.<job_name>.File.counter.
    TotalTransferTime}
File.counter.TotalTransferTime
${jobs.<job_name>.NumberOfTransferredFiles}
Number of transferred files

Only one value for each job.

Properties for JSR 352 Java Batch jobs

Table 3. Properties for JSR 352 Java Batch jobs
JSR 352 Java Batch job properties that can be passed to another job Label
${jobs.<job_name>.ExitStatus}
Job Exit Status
${jobs.<job_name>.JobInstanceId}
Job Instance Id
${jobs.<job_name>.executionId}
Job Execution Id
${jobs.<job_name>.JobName}
Job Name
${jobs.<job_name>.JobBatchStatus}
Job Batch Status
${jobs.<job_name>.self}
Self
${jobs.<job_name>.joblogs}
Job Logs
${jobs.<job_name>.Jobexecution}
Job Execution
The following variables are exported for each step of the job:
${jobs.<job_name>.<STEP_NAME>.Name}
Step Name
${jobs.<job_name>.<STEP_NAME>.BatchStatus}
Step Batch Status

Properties for database jobs

Table 4. Properties for database jobs
Database job properties that can be passed to another job Label
${jobs.<job_name>.NumberOfRows}
Number of rows
${jobs.<job_name>.PPS_PROPERTY_NAME}
The name of the procedure expressed
${jobs.<job_name>.PPS_PROPERTY_VALUE}
The value of the procedure expressed