When variables are substituted

Specifying the SETUP option shows how to specify the SETUP option in the panel shown in EQQJVVMP - Modifying a JCL variable.

Table 1. Specifying the SETUP option
SETUP HCL Workload Automation for Z substitutes the variable …
YAutomatically at job setup, or at submission if there is no setup operation.
NAutomatically at job submission. The variable is stored with the job in the JCL repository (JS) data set, and is then substituted automatically before the job is routed to the required destination.
PAfter substituting any SETUP=Y variables and prompting the operator. HCL Workload Automation for Z first substitutes SETUP=Y variables. Then it scans the job for promptable variables and displays them. The operator enters values for each variable. If there is no setup phase, the job fails with error code OJCV.

The operator initiates setup by setting the operation to next logical status using the workstation READY LIST panel. Variables can also be substituted by a user-supplied exit rather than by HCL Workload Automation for Z.