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 |
Can we create VSAM file by using IEBGENER?
How to skip first step of a job? Can we use COND on the first step?
How do you restart a PROC from a particular step?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.
how to modify the copy book?explain with examples
What are the difference between jcl and jes?
I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.
What is the difference between BLKSIZE and LRECL?
Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
What are steplib and joblib?