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
How can an in-stream dataset be terminated?
What are the difference between jcl and jes?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
How can the submitting users racf authority be overridden in a job stream?
What is concatenating?
Differentiate between addressing mode and run mode.
How does jcl act on a cobol code?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what is the use of IEBGENER utility?
What is the function of the dd avgrec keyword in sms datasets?
Explain the function of //cntl statement?
Can we use DISP=SHR in output file in JCL
define cond parameter in jcl?
Is it possible to define dd statements as you want?