//{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
What is the purpose of the dd keylen parameter?
Why block size is multiple of lrecl in jcl?
For what purpose steplib and joblib are used ?
Is condition checking possible in jcl? If yes, how?
What is the significance of addrspc parameter in the exec statement?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is the purpose of dd * statement in jcl?
What is jcl in mainframe?
what is “Cond= even” and “Cond=only”?
how to do automated restart when a job abends?
How to do automated restart when a job abend?
How can return codes be tested before execution of a job step?
What do you understand by the term job time – out and how can you overcome that?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?