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

Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


how to allocate a dynamic dataset in jcl ?

3 Answers   Patni, TCS,


Are there any set of rules for the names of the steps used in a job?

0 Answers  


how can u identify the db2 from jcl ?

2 Answers   TCS,


What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?

1 Answers   Accenture,






What is GDG?

1 Answers  


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,


Max generations in GDG??

15 Answers   Xansa,


can anyone explain me about sort in jcl with inrec and outrec ?

2 Answers   HCL,


What is a GDG

4 Answers   IBM,


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


Categories