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
Can an individual step be restricted from using all the jobs allowed cpu time?
What is job control language?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
define cond parameter in jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is use of disp parameter in dd statement?
how to run batch program without jcl?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain about ISPF/TSO Commands
Is there any command to check wether the ps file is in sorted order?
How do you create a temporary dataset?
What is the difference between run mode and addressing mode?
what are the statements that are not valid to be included in an include statement?
How to run cobol program using jcl?
Explain the function of a dd statement?