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
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How to pass data to a program that is coded in an exec statement?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Explain about LMFREE�free data set from its association with data ID
What is NOTCAT ?
Where & How Do You Code Identifier In Jcl?
What is one line to pass PARM from JCL to COBOL?
How to pass the parameter in parm using linkage section ? (syntax)?
Explain dd statement in jcl?
Explain dfsort utility?
how can you check if a file is empty using jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Is their any limit for data sets?
Differentiate between the joblib and the steplib statements?