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 |
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Which dd parameters are required?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
What are SD37, SB37, SE37 abends?
When cursor is not closed what is the error?
In how ways you can pass the data from Jcl to cobol ?
What is the exact difference between PRTY and DPRTY
What is COND=EVEN ?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
Explain the function of //cntl statement?
How to find out the number of records in a file using JCL
Explain how can the attributes of one sms dataset be copied to another dataset?