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 JCL works?
what is the use of JCL?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Where can program checkpoints be stored for use in a restart?
what are the various stages of job processing?
Differentiate between the joblib and the steplib statements?
what happens in conversion stage in job processing?
How to run cobol program using jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Describe the various parameters utilized in the creation of a gdg?
In job processing, what happens in execution stage?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
which utility is used to sort a file in jcl?
What is job control language?