Rational Developer for System z

Adding user variables and variable values for JCL substitution

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 pages in the property group editor.
The following process shows how to add user variables and variable values for a COBOL program.
  1. 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.
  2. Click Add. The Add a user variable window opens.
  3. Type the variable name in the Variable name field.
  4. Type the value of the variable in the Variable value field.
  5. 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


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)