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

How many parameters are there to a DISP statement and what are their uses ?

3 Answers  


Explain about File Tailoring

1 Answers  


Explain how can a stopped job be started again?

1 Answers  


What all are the changes to be made in JCL so as to do testing?

2 Answers   TCS,


how many members can be created inside a single pds?

8 Answers  


What is the max blocksize for a Tape file?

2 Answers  


difference between internal sort and external sort

1 Answers  


Can we use empty VSAM as input?

9 Answers   Convergys, Kanbay,


if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?

5 Answers   Accenture,


Explain the hierarchy levels in jcl?

1 Answers  


How to see the COMP3 value(packd decimal)

2 Answers   iGate,


List some valid operation codes in JCL

3 Answers  


Categories