What is a GDG
Answers were Sorted based on User's Feedback
Answer / aannie
A generation data set is one of a collection of
successive, historically related, cataloged data sets,
known as a generation data group (GDG). Each data set
within a generation data group is called a generation data
set (GDS) or generation.
? Processing Generation Data Groups
? Absolute Generation and Version Numbers
? An absolute generation and version number is used
to identify a specific generation of a generation data
group.
? The generation and version numbers are in the
form GxxxxVyy, where xxxx is an unsigned 4-digit decimal
generation number (0001 through 9999) and yy is an unsigned
2-digit decimal version number (00 through 99)
? Relative Generation Number
As an alternative to using absolute generation and
version numbers when cataloging or referring to a
generation, we can use a relative generation number.
For example, A.B.C(-1). A.B.C(+1), or A.B.C(0).
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / jegadeesan ramu
Used to keep track of the records in chronological order to
create gdg base name must be created by using IBM utility
IDCAMS
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / dhan
Generation Data Groups (GDGs) are a group of datasets related to each other by a common name.
GDG generation file is referred by a GDG base name.
Each generation data set is distinguished by others by the generation number.
https://youtu.be/hMbB20WKmBg
https://youtu.be/3N17dh7BAaQ
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ks
It is nothing but Generation data group keeps the track of
the new generations by deleting the older ones based on the
options
Is This Answer Correct ? | 1 Yes | 2 No |
What is the DD statement for a output file?
shall we concordinate two different length dataset in to a new date set.
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
What is jcl in mainframe?
Which dd parameters are required?
What is a PROC? What is the difference between an instream and a catalogued PROC?
how GDGs are concatinated?
how do u see jobs submitted before ur job ?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter