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

If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?

5 Answers   TCS,


what is use of space parameter in dd statement?

0 Answers   IBM,


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


How is a new GDG coded?

2 Answers  


how to split a file

4 Answers   IBM,






how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


what is alternate index?

1 Answers  


Why do you use a control card?

3 Answers   IBM, iNautix,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,

1 Answers   IBM,


Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?

5 Answers   Maples, Patni, TCS,


in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?

3 Answers   Patni,


Categories