How do you find which GDG is using which dataset?
Answer Posted / stu
The question is confusing. A GDG (Generation Data Group)
consists of a base (no data, but defines the name, how many
generations of data files will be kept, etc.), and the
generations of data files.
The data files will all have the same file name except for
the last name node. Here are 3 generations of a GDG with
their actual file names.
xxx.xxxxx.xxxx.G000V01 alias=xxx.xxxxx.xxxx(-2)
xxx.xxxxx.xxxx.G000V02 alias=xxx.xxxxx.xxxx(-1)
xxx.xxxxx.xxxx.G000V03 alias=xxx.xxxxx.xxxx(0)
If another generation is created, G000V00, it becomes (0),
G000V03 becomes (-1), and so forth.
If the jcl cites xxx.xxxxx.xxxx by itself, it concatenates
all the existing generations in earliest to latest order.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the 4 fields in dd statement?
what sort card you will use to copy the data from one dataset to another dataset?
Explain the function of the dd dcb keyword?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
define cond parameter in jcl?
List in order the hierarchical levels of jcl?
whats the diff bw the evaluate also and and?
How jcl is used for testing batch programs?
When output dataset space is required, what quantity categories are used?
What is notcat 2 - gs?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
Is it possible to left uncode disp? If yes, how?
What is the syntax of JCL statement?
What is timing concept in mainframe?
What is the function of job statement in jcl?