What is the difference between a PDS member and a GDG
Generation ? Is it only this, that with a generation we can
use +1, 0, -1 etc while with PDS member we can not ?

Answers were Sorted based on User's Feedback



What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / karthik.ss

IN GENERATION DATA GROUP ,GDS (GENERATION DATA SET ) WIL BE
CREATED AUTOMATICALLY WITH PREFIX GXXXX.VXX. BUT IN CASE PDS
(PARTITION DATA SET) WE CAN'T CREATE. IN ORDER TO ACCEPT A
DS (DATA SET) WE HAVE TO USE ZERO FOR CURRENT DS AND -1 FOR
PREVIOUS ONE BUT IN CASE OF THE PDS WE CAN ACCESS ONLY
THROUGH THE NAME OF THE MEMBER.

Is This Answer Correct ?    14 Yes 1 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / aloke deb

PDS is similar to a folder in which files are kept. Their
organization format is PDS. GDG's have organizaton as PS
(similar to flat files) but the only addition is they
maintain versions of the previous data.

Is This Answer Correct ?    7 Yes 1 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / vinay sonar

The basic difference between PDS and GDG member is that GDG
members are peroidic in nature.If limit execids they get
automatically deleted or uncatloged based on condition.

Is This Answer Correct ?    4 Yes 0 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / polsani

In gdg generation are of ps data set type but in pds its a
member(jcl/cobol programs)

Is This Answer Correct ?    4 Yes 2 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / krishna

pds is the dataset that is partitioned.Gdg is like PDS but
all the versions has same name.

Is This Answer Correct ?    2 Yes 1 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / zos13

To understand the difference between PDS and GDG, you need to know the difference between PDS and PS.

PDS is like a folder of Windows with limitation it can not contain another folder(S), but Windows can do.

PDS may contain Programs, JCL's, Files(input/output) etc and they are called members.
If you wan to access a particular member, you need to give complete path like userid.xxxx.xxxx(memname).

PS is a single, independent file created by option 3.2 using Directory =0 or, PS or through JCL with DCB, SPACE, UNIT parameters etc.

Now coming to GDG's, they are similiar to PS with only difference if limit is 5 then there will be a kind of relation between all GDG's or their versions.

You can use (0), (-1), (-2), (+1) etc. based on creation or version or by giving the complete path(GDG name with GnnnnVnn).

Is This Answer Correct ?    1 Yes 3 No

What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a gen..

Answer / dedicated_programmer

Thanks Karthik,
And could you help in sorting out whether there is any other
difference between a PDS member and a GDG generation EXCEPT
that we can reference the GDG Generations using +1, 0, -1
etc while with PDS members we can NOT ?

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More JCL Interview Questions

Can a job have only steplib and no joblib ?

6 Answers  


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


how can u understand ps and pds from their names ?

1 Answers   TCS,


wht do u mean by inrec and outrec ?

1 Answers   IBM,


using cursor how can you fetch more than one record into a variable

3 Answers   Syntel,






what is DSN in JCL and what are the parameters to declare the DSN?

0 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  


what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


List the various advantages of using jcl language?

0 Answers  


how can you check if a file is empty using jcl?

0 Answers   IBM,


Explain the function of dd disp parameter?

0 Answers  


Categories