Answer Posted / arnab gupta
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.
Syntax
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.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
which parameter is used to check the syntax of a jcl without executing it?
Is it possible to define dd statements as you want?
How to submit jcl through a cobol program?
Is it possible to code instream data in a PROC?
How does the jcl specify the job to os?
What dd statement is used to supply the name of a dataset?
How would you understand error(execution phase)?
What is the function of dd disp parameter?
what JCL Procedures?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What do you understand by the term job time – out and how can you overcome that?
what operation is performed by job statement?
What is the function of the dd dcb keyword?
Mention the types of job control statements?
when can a job time-out occur? How to overcome that?