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.
- If you are submitting a job definition contained in the SCRPTLIB library, the exit is called during the job definition parsing process; that is, when either you add an occurrence from the MCP dialog or when you run a task (a daily plan, a replan, or a symphony renew) that results in the production of the symphony file.
You can use the exit to supply the value of a variable. For more information on JCL variables, refer to IBM Tivoli Workload Scheduler for z/OS 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.