//{name} INCLUDE MEMBER=memname {comments}
in the include statement, what actually happens when its
executed? The membername conatains a list of valid JCL
statements, so will the include statement be substituted by
these statements and how can we mention the pds that
conatains the member? How does the include group differ from
a PROC?
how is include statement connected to JOBLIB and STEPLIB?

Answer Posted / devang1783

INCLUDE is used ONLY on MVS/ESA Version 4 or higher systems
to name an INCLUDE group. An INCLUDE group is a set of one
or more valid JCL statements that are stored together in a
JCLLIB data set or a system procedure library, and that are
read in and used to replace the INCLUDE statement itself
within the job. Any number of INCLUDE statements can be
used in a job, but the name field value used on each should
be unique within the job. The INCLUDE statements can appear
in a job anywhere after the JOB statement, but may not
appear between a CNTL and ENDCNTL
JCL statement.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is job control language?

605


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625


What is the maximum length of a single line of jcl?

823


How can an in-stream dataset be terminated?

843


How can unused space allocation be returned to the system when a dataset is closed?

802






What are the 4 fields in dd statement?

737


how do you code a null statement?

768


When output dataset space is required, what quantity categories are used?

817


which utility is used a dummy utility?

782


Can we call instream to catalog and catalog to instream?

679


What is condition checking in jcl? Is this possible?

619


how you will the direct the data to spool using sysout option?

1755


What are s0c1, s0c4, s0c5, s0c7 and socb?

695


what is the compile process of cobol program expalin with code

1996


Can we use DISP=SHR in output file in JCL

946