//{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?

Answers were Sorted based on User's Feedback



//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its..

Answer / 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

//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its..

Answer / max

We are using two sysres volume for 4 lpar, one online e one
offline for maintenance.Using INCLUDE member=memname in the
jcl (or proc), in joblib o steplib,for switch from one
library to other ptf library(standing in the other sysres
offline volume), how can i involve in the specific case of OMVS?
There is the problem, that for aplly ptf, i'll mount root
directory of the voleume sysres offline. Infact with two
unique sysres, on e system cloud have different sysres
online. And thus? i can't apply ptf on the root file if it's
mounted on other system lpar.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More JCL Interview Questions

What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


What is a S0C4 error ?

2 Answers  


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.

7 Answers   Accenture,






What is QSAM error usually when it is occurs?

1 Answers  


what is SOC4 error?

0 Answers  


what are JCLLIB and STEPLIB in JCL?

0 Answers  


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file

6 Answers   ITC Infotech,


a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?

1 Answers   IBM,


Categories