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

Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?

6 Answers   IBM,


What is multithreading in jcl?

0 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


how to set dependancy for jobs?

4 Answers  


What is concatenating?

0 Answers  






Explain about User Information

1 Answers  


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA

3 Answers   VC, Wipro,


What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,


proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code

2 Answers  


how to create gdg with out using idcams utility

8 Answers   DSRC,


In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 Answers  


Categories