//{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 disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

657


what is JCL?

698


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

2267


What is the function of the dd mgmtclas keyword in sms datasets?

738


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?

785






What is jcl in mainframe?

690


Where can program checkpoints be stored for use in a restart?

851


i want to store 20 digits . how will u do it in cobol ?

860


Name a few IBM utility programs, and explain its function.

4440


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

609


Why include statement is used in a jcl?

689


How do you create a temporary dataset?

663


What is the motivation behind coding class parameter in job statement?

689


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2220


How can an in-stream dataset be terminated?

848