Variable-substitution exit (on JCL or job definition variable)

When you define a JCL or a job definition variable, you can specify the name of an exit that is called when substitution of the variable is required. The exit can be called at different phases depending on what you are submitting:
  • If you are submitting a job contained in the job library, the exit is called at either job setup or job submission, but it is not called for promptable setup-variables.
You can use the exit to supply the value of a variable. For more information on JCL variables, refer to Managing the Workload.

The sample library SEQQSAMP that was created during installation contains the EQQJVXIT exit, which is a sample of variable-substitution exits. For information about this sample, see JCL-variable-substitution exit.