Previous Topic: U7IFACE MacroNext Topic: U7JOBCRD Macro


U7JCLDS Macro

The U7JCLDS macro specifies the JCL data sets that the CA WA CA 7 Edition system can use. At least one JCL data set is required.

Note: For more information about the JCL statement in the CA WA CA 7 Edition initialization file, see the Systems Programming Guide.

The CA WA CA 7 Edition SYSGEN process does not cause the JCL data sets to be allocated. If you do not already have an existing JCL data set, allocate one. A JCL data set must contain card-image data. Specify at least the primary JCL data set (INDEX 0).

Because the CA WA CA 7 Edition SYSGEN process automatically generates the following items, do not code these index levels:

A maximum of six JCL data sets can be specified per U7JCLDS macro. More than one U7JCLDS macro can be coded in the Stage I assembly. If any subparameters are omitted, a comma must be included to indicate omission.

This macro has the following format:

[name]    U7JCLDS    JCL1=('dsname',index,lterm,type),
                    [JCL2=('dsname',index,lterm,type),]
                    [JCL3=('dsname',index,lterm,type),]
                    [JCL4=('dsname',index,lterm,type),]
                    [JCL5=('dsname',index,lterm,type),]
                    [JCL6=('dsname',index,lterm,type)]
name

(Optional) Indicates a one- to eight-character, user-defined label.

U7JCLDS

Must be specified as shown.

JCLn=

Indicates a keyword where n is a number from one to six. The JCL1= keyword must be coded. JCL2= through JCL6= are optional.

'dsname'

Specifies the full data set name of the JCL data set in single quotes. This subparameter is required.

index

Specifies the CA WA CA 7 Edition JCL data set index number (0-999). Assign the primary JCL data set an INDEX value of zero. This value is the default that is used when a job is loaded (or added) to the CA WA CA 7 Edition job data set. INDEX number 254 is assumed to refer to a special override library. INDEX numbers 200 and 255 are reserved. This subparameter is required.

lterm

(Optional) Specifies the logical terminal where prompt messages about jobs that are scheduled from this JCL data set are queued. The default is MASTER, where most the CA WA CA 7 Edition messages are written.

type

(Optional) Specifies the type of data set being defined. The only supported types are the following types:

PDS

Partitioned data set. PDS is the default.

LIB

CA Librarian data set

PAN

CA Panvalet data set

Note: If CA Librarian or CA Panvalet data sets are identified here, JCL DD statements must be manually inserted in the procedure CA7ONL. These DD statements have required ddnames in the format JCLnnn. nnn is the index value that you defined previously and leading zeros are required.