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

i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?

2 Answers   Syntel,


What is the purpose of the dd keylen parameter?

0 Answers  


what is the use of temporary files?

5 Answers   Hexaware,


whats the difference between empty and noempty of GDG?

4 Answers   Patni,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  






We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


Explain about LMQUERY�give a dialog information about a data set

0 Answers  


What does a disposition of (new,catlg,keep) for a dsn mean?

0 Answers  


How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

2 Answers   Target,


What is the purpose of include statement in a JCL?

2 Answers  


Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


diff bw vsam and normal flat file?

2 Answers   CGI,


Categories