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

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

3 Answers   TCS, Tech Mahindra,


What is use of restart and how to use it?

0 Answers  


what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file

3 Answers   Virtusa,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  






How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


What is the DD statement for a output file?

3 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


Why do you use a control card?

3 Answers   IBM, iNautix,


What is job control language?

0 Answers  


is step name is compulsory in jcl ?

2 Answers  


Categories