How do you find which GDG is using which dataset?
Answers were Sorted based on User's Feedback
Answer / karthik .k
GDG datasetname(-1)-previous version
(0)-current version
(+1)-next version
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / balu
gdg data set(0) we can know which data set gdg is using
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
In DCB, what is LRECL,BLKSIZE,DSORG
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
Do we need to code DCB parameters when using DISP position as MOD?
The maximum number of steps in a job?
how you can direct the data to spool using SYSOUT option?
How is a GDG base created?
can we give instream data in procedure
what is the cond=even only
describe the dd statement,its meaning,syntax and keywords?
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario