//{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 these two parameters? -> accounting information -> class how would it bring the differrence to a program?

4 Answers  


How to read records in reverse order in flat file?

1 Answers  


What is the difference between the JOBLIB and the STEPLIB statements?

3 Answers  


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


Describe the JOB statement, its meaning, syntax and significant keywords?

1 Answers  






what is the difference between JES3 and JES2?

0 Answers  


Is there any command to check wether the ps file is in sorted order?

4 Answers  


How to send data from cobol program to jcl?

2 Answers   CSC,


I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.

1 Answers  


How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


Can a PS file be read in reverse order?If so,how

2 Answers   Syntel,


Categories