how GDGs are concatinated?

Answers were Sorted based on User's Feedback



how GDGs are concatinated?..

Answer / agent-code

just give the base gdg.

Is This Answer Correct ?    7 Yes 1 No

how GDGs are concatinated?..

Answer / nygrande

If we use the base of the GDG only, all generations will be
concatenated.

If we want to use specific GDG generations, we can code as:

//FILEA DD DSN=NAME.OF.FILE(-5),DISP=SHR
// DD DSN=NAME.OF.FILE(-2),DISP=SHR
// DD DSN=NAME.OF.FILE(-1),DISP=SHR
// DD DSN=NAME.OF.FILE(0),DISP=SHR

or use the GDG complete DSN, as G0000V00. For example:

//FILEA DD DSN=NAME.OF.FILE.G0001V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0003V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0004V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0005V00,DISP=SHR

Is This Answer Correct ?    2 Yes 0 No

how GDGs are concatinated?..

Answer / adarsh

using repro command.

Is This Answer Correct ?    0 Yes 0 No

how GDGs are concatinated?..

Answer / jalal

255

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More JCL Interview Questions

What are the parameters that are used in creating a gdg?

0 Answers  


what is the purpose of coding class parameter in job statement?

0 Answers   IBM,


When will we need to specify Space parameter ?

3 Answers   Wipro,


what is the cond=even only

4 Answers   EDS,


What is the purpose of include statement in a JCL?

2 Answers  






Is condition checking possible in jcl?

0 Answers  


How to DEBUG a JCL?

9 Answers   Satyam,


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


what happens in execution stage in job processing?

0 Answers   IBM,


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


Categories