What is the purpose of include statement in a JCL?
Answers were Sorted based on User's Feedback
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 |
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 |
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
how would you create a temporary dataset? And where will you use them?
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?
Explain concatenating datasets?
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?
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)
Can an individual step be restricted from using all the jobs allowed cpu time?
how GDGs are concatinated?
In job processing, what happens in execution stage?
What are the common keyword parameters in both job and exec statements
How many types of libraries are there in JCL ?