What is the purpose of include statement in a JCL?

Answers were Sorted based on User's Feedback



What is the purpose of include statement in a JCL?..

Answer / jojav

"INCLUDE" is to access a member in global PDS. example:
INCLUDE MEMBER = XXXXXXX. This XXXXXX should be a member of
the global PDS. This XXXXXX can be a proc or control card.
Its just used for reusability.

Is This Answer Correct ?    2 Yes 0 No

What is the purpose of include statement in a JCL?..

Answer / guest

It is used as an alternative for STEPLIB. When we specify
the dataset name in include ,it will search in all the
datasets specified in the include dataset.

Is This Answer Correct ?    5 Yes 6 No

Post New Answer

More JCL Interview Questions

File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


how would you create a temporary dataset? And where will you use them?

0 Answers  


If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?

13 Answers   Cognizant, Convergys, IBM, TCS, Wipro,


Is their any limit for data sets?

0 Answers  


Explain concatenating datasets?

2 Answers   CTS,






Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  


Can an individual step be restricted from using all the jobs allowed cpu time?

0 Answers  


how GDGs are concatinated?

4 Answers   HSBC,


In job processing, what happens in execution stage?

0 Answers  


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


How many types of libraries are there in JCL ?

2 Answers   IBM,


Categories