Variables passing between jobs in the same job stream instance
In many scenarios the job output or a job property of the first job in a job stream can be the input for the execution of the successive jobs in the same job stream instance. This is valid also for JOBS job stream.
In the scenario,
you have JobA and JobB in the
same job stream instance, and JobA passes some
variables values to the JobB at execution time.
You can pass the following variables from JobA to JobB:
- JobA exports some properties and JobB references these properties in its definition as variables in a predefined format. At execution time the JobB variables are automatically resolved. The job properties that you can export depend on the job type you are defining. See Passing job properties from one job to another in the same job stream instance.
- JobA exports its standard output value and JobB references this standard output as property in JobB definition as variable. At execution time the JobB variable is automatically resolved. See Passing job standard output from one job to another in the same job stream instance.
- JobA exports its standard output value and JobB references this standard output as its standard input value. This option is valid only for executable jobs. See Passing job standard output from one job to another as standard input in the same job stream instance.
Note: The USERJOBS job stream created
by HCL Workload Automation processes, does not support the variables passing between
jobs that belong to it.