1.

What is the usage of the Include statement in JCL?

Answer»

INCLUDE statements can be used to identify and include a set of JCL statements coded within a member of a PDS (PARTITIONED data set) into a JCL stream. For example, some of the common files used in MANY JCLs can be coded as DD statements within an INCLUDE member and used within the JCL. 

Syntax: 

//name INCLUDE MEMBER=member-name     

An INCLUDE statement cannot contain a dummy DD statement, a data card SPECIFICATION, or JOB, PROC statements. Within an INCLUDE member, an INCLUDE statement may be coded, and nesting may go up to 15 LEVELS



Discussion

No Comment Found