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
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain the purpose of dd dummy statement?
how you can access an uncataloged dataset in a JCL?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
what is use of disp parameter in dd statement?
what is JCL?
A dd statement consists of 4 fields. Name them?
What is catelog procedure and how many catelog procedure to use in one job?
how do you code a null statement?
In job processing, what happens in execution stage?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Is it possible to left uncode disp? If yes, how?
Is it possible to left uncode disp?