DBA > Job Interview Questions > JOB CONTROLL LANGUAGE (JCL) Interview Questions

What is GDG?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is GDG?

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 parenthese after dataset name. Absolute GDG name - GxxxxVyy, where xxxx-absolute generation number. yy-version number. Can be sequential, direct, partitioned. (VSAM - no). Must always be catsloged. Advantage - all dataset 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 catelog 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 and deleted, otherwise - removed and 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 provessed from the beginning.

(Continued on next question...)

Other Job Interview Questions