Interview Questions   Tutorials   Discussions   Programs   

JCL - What you mean by include statement in JCL ?

asked mar September 1, 2014 11:08 AM  

What you mean by include statement in JCL ?


1 Answers

answered By Mswami   0  
INCLUDE Statement:

A set of JCL statements coded within a member of a PDS can be included to a JCL using an INCLUDE statement. When the JES interprets the JCL, the set of JCL statements within the INCLUDE member replaces the INCLUDE statement.


Following is the basic syntax of a JCL INCLUDE statement:

//name INCLUDE MEMBER=member-name                   

The main purpose of INCLUDE statement is reusability. For example, common files to be used across many JCLs can be coded as DD statements within INCLUDE member and used in a JCL.

Dummy DD statements, data card specifications, PROCs, JOB, PROC statements cannot be coded within an INCLUDE member. An INLCUDE statement can be coded within an INCLUDE member and further nesting can be done up to 15 levels.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!