What is GDG?



What is GDG?..

Answer / guest

GDG - group of dataset that are logically or chronologically
related, referred by name and a relative generation number -
an integer which identifies the generation of a dataset and
is coded in parentheses after dataset name. Absolute GDG
name - GxxxxVyy, where xxxx-absolute gen. number, yy-version
number. Can be sequential, direct, partitioned. (VSAM - no).
Must always be cataloged. Advantage - all datasets have the
same name and system keeps track of adding new and retaining
previous generations and deleting oldest successive
generation. To create a GDG we create a GDG index in the
system catalog with IDCAMS utility and then a model
(prototype, DSCB) on the same volume to supply DCB
information. Empty - when limit is reached all members are
removed from the index, otherwise-only oldest.
Scratch-removed members are uncataloged & deleted, otherwise
- removed & uncataloged, but remain in the system (not
members of GDG any more). GDG number is updated at the end
of the job. If number is not specified all generations will
be processed from the beginning

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More JCL Interview Questions

Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES

5 Answers   IBM,


What do you understand by the term job time – out and how can you overcome that?

0 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


what is the difference between JES3 and JES2?

0 Answers  






Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

0 Answers   IBM,


What is the error code SOC01 indicate ?

5 Answers   Microsoft,


What is the significance of addrspc parameter in the exec statement?

0 Answers  


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

0 Answers  


What do you understand by jcl?

0 Answers  


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


Categories