How do you find which GDG is using which dataset?

Answers were Sorted based on User's Feedback



How do you find which GDG is using which dataset?..

Answer / karthik .k

GDG datasetname(-1)-previous version
(0)-current version
(+1)-next version

Is This Answer Correct ?    2 Yes 0 No

How do you find which GDG is using which dataset?..

Answer / balu

gdg data set(0) we can know which data set gdg is using

Is This Answer Correct ?    0 Yes 0 No

How do you find which GDG is using which dataset?..

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

Post New Answer

More JCL Interview Questions

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' ?

0 Answers  


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?

5 Answers   RBS,


Can we change a FB file to VB file in JCL? Please help

1 Answers  


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,

3 Answers   IBM,






how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


Explain the jcl exec statement?

0 Answers  


If job is submitted with typerun = hold then how can we submit the same job?

3 Answers   Wipro,


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.

3 Answers  


What is timing concept in mainframe?

0 Answers  


How many positional parameters are there in job statement?

4 Answers  


what is alternate index?

1 Answers  


Categories