The windows for specifying user variables and variable values for
JCL procedures allow you to add, edit, and remove user variables and values.
This section describes how to add user variables and values.
The same process can be used to add user variables and values for
JCL procedures on any of the JCL Substitution tab pages.
The following process shows how to add user variables and variable
values for a COBOL program.
- To add a new user variable and parameter value for a JCL procedure
used with a COBOL program, open the COBOL Settings page
of the Properties window. In the right pane of the window, select the JCL
Substitution tab.
- Click Add. The Add a user variable window
opens.
- Type the variable name in the Variable name field.
- Type the value of the variable in the Variable value field.
- Click OK. The variable name
and value are added to the table and properties list. Repeat these steps as
necessary to add the rest of your variables and values.
When you specify variable names and values on a JCL
Substitution page and then generate JCL or trigger a remote build
or syntax check, a SET statement is generated just before the EXEC PROC statement.
Assume you created the following variable names and values:
| Variable Name |
Variable Value |
| PARM |
LIST |
| ERRFDBK |
HLQ.IDECOBOL.XML |
The SET statement generated would look like this:
//SETSTMT SET PARM=LIST,
// ERRFDBK=HLQ.IDECOBOL.XML