What u mean by include statement in JCL ?

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


Please Help Members By Posting Answers For Below Questions

if the submitter of a job wants to inform another user about the job completion, how can it be done?

758


How to pass data to a program that is coded in an exec statement?

832


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?

789


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.

731


Explain about LMFREE�free data set from its association with data ID

1008






What is NOTCAT ?

742


Where & How Do You Code Identifier In Jcl?

699


What is one line to pass PARM from JCL to COBOL?

858


How to pass the parameter in parm using linkage section ? (syntax)?

655


Explain dd statement in jcl?

645


Explain dfsort utility?

675


how can you check if a file is empty using jcl?

816


Matching Logic in Jcl not in cobol.Could any one please answer this question

3673


Is their any limit for data sets?

705


Differentiate between the joblib and the steplib statements?

859