Previous Topic

Next Topic

Book Contents

Book Index

General Information for SET VAR

A major advantage of using AutoEdit variables is that the JCL can be submitted with different values for different executions without actually changing the JCL.

There are two types of AutoEdit variables:

One method of supplying a value for a user-defined variable is by defining the variable and its value in a SET VAR statement. The value is assigned at time of job submission.

At the time of job submission, AutoEdit variables in the JCL are resolved in sequence. By default, if an AutoEdit variable cannot be resolved, the job is not submitted. This default can be changed using an appropriate %%RESOLVE AutoEdit control statement.

SET VAR statements can also be used to define and update Global Variables in the IOA Global Variable Database. For more information on Global Variables, including Global Variable syntax, see Global Variables.

As of version 6.0.00, SET VAR variables defined in a SMART Table Entity are available to all the jobs in the SMART Table. However, they do not override SET VAR variables defined in the job scheduling definition.

An unlimited number of SET VAR statements can be specified.

Upon filling in a SET VAR statement and pressing Enter, a new blank SET VAR statement is displayed.

JCL Setup and the AutoEdit facility are described in depth in JCL and AutoEdit Facility.

Parent Topic

SET VAR: General Job Parameter