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 |
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' ?
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
Can we change a FB file to VB file in JCL? Please help
If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,
how to identify a vasam dataset by seeing in 3.4(browse)
Explain the jcl exec statement?
If job is submitted with typerun = hold then how can we submit the same job?
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
What is timing concept in mainframe?
How many positional parameters are there in job statement?
what is alternate index?