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
Explain about LMFREE�free data set from its association with data ID
Name a few IBM utility programs, and explain its function.
Are there any set of rules for the names of the steps used in a job?
Explain dfsort utility?
when can a job time-out occur? How to overcome that?
What is multithreading in jcl?
A dd statement consists of 4 fields. Name them?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
Is it possible to define dd statements as you want?
how you will the direct the data to spool using sysout option?
Explain the jcl exec statement?
What are steplib and joblib? What for they are used?
How is a type of file defined in the jcl that executes the cobol program?
What are the 2 types of parameters in dd statement?