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

Can I send output of job to my remote device careerride123?

762


What statement can be used to send data to another mvs jes3 node?

1069


Define concatenating?

754


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

706


Explain the function of job statement in jcl?

735






What are the parameters that are used in creating a gdg?

827


What is the purpose of disp parameter?

728


How can a jobs execution priority be modified?

886


Explain the function of the steplib dd statement?

722


Can we call instream to catalog and catalog to instream?

759


Is their any set of rules for dd? Explain.

754


List in order the hierarchical levels of jcl?

756


How to override loadlib?

1522


a dd statement has 2 types of parameters. Name them?

735


What is the function of the steplib dd statement?

824