HCL Workload Automation, Version 9.4

Passing variables between jobs

The IBM i job definition has been enhanced for jobs running SBMJOB command .

Passing variables between jobs has become an easy task. You can now use variable tables to set variables exported from a job, and pass the variables to any successor job, in the same job stream or in a different job stream.

To export variables from a job into a variable table, an ad-hoc HCL Workload Automation job type is available: the VariableTable job type. The VariableTable job must be added to the job stream as a successor of the job that is exporting variables. The VariableTable job sets the exported variables in a variable table and makes them available to any other successor job, in the same job stream or in a different job stream.

You can easily define a VariableTable job by using the Dynamic Workload Console or composer command line.

For more information, see Passing variables from one job to another in the same job stream or in a different job stream by using variable tables.