how GDGs are concatinated?
Answers were Sorted based on User's Feedback
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 |
Explain how can the submitting users racf authority be overridden in a job stream?
how to allocate a dynamic dataset in jcl ?
Are there any set of rules for the names of the steps used in a job?
how can u identify the db2 from jcl ?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
What is GDG?
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
How can we execute only one step in a job
22 Answers MAHINDRA, Mind Tree, Tech Mahindra,
Max generations in GDG??
can anyone explain me about sort in jcl with inrec and outrec ?
What is a GDG
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?