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
IBM Sterling Connect:Direct properties that can be passed in another job definition | IBM Sterling Connect:Direct job Extra Information properties |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only one value for each job. |
Properties for JSR 352 Java Batch jobs
JSR 352 Java Batch job properties that can be passed to another job | Label |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following variables are exported for each step of the job: | |
|
|
|
|
Properties for database jobs
Database job properties that can be passed to another job | Label |
---|---|
|
|
|
|
|
|