What is GDG?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

State the uses of syspring, sysin, sort fields, sum fields and dummy.

654


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

729


What is multithreading in jcl?

941


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

778


whats the diff bw the evaluate also and and?

1857






Explain the purpose of dd dummy statement?

672


what is use of disp parameter in dd statement?

666


how do you access an uncataloged dataset in a jcl?

841


How dummy is used in jcl?

651


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

672


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?

719


what operation is performed by job statement?

663


How do you access an uncatalogued dataset in a jcl?

729


How do you submit a job for execution?

640


when does a dataset go uncataloged?

838