Variables in JCL templates
You can indirectly set values for a few of the variables in a JCL template. The Generate Runtime Code wizard sets the values of the other variables in a JCL template during its processing of the JCL template.
The following table shows the variables
for which you can set values. You set these variables indirectly,
by specifying the values on a page of the Generate Runtime Code wizard
(see Step B6. The File Selection page of the Generate Runtime Code wizard):
| Variable: | Page in the Generate Runtime Code wizard: | Field on the page: |
|---|---|---|
| %MAT_ACCOUNT% | File selection | Job control account |
| %MAT_HLQ% | File selection | Deployment libraries HLQ |
| %MAT_UID% | File selection | Job control user ID |
Note: If you leave one of these fields blank, then the name
of the uninitialized variable (for example, %MAT_HLQ%) appears in
the generated JCL file instead of a substituted value:
COPY1='%MAT_HLQ%.USER.COPYLIB',In
this situation you need to specify an actual value instead of the
variable name in the JCL file before you submit the JCL file to z/OS®.The values for other variables found in a JCL template (such as %MAT_MEMBER%, %MAT_RDODESC%, and so on) are set by the Generate Runtime Code wizard when it processes the JCL template.