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
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 |
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 |
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 |
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 |
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 |
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 |
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 |
How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
In DCB, what is LRECL,BLKSIZE,DSORG
whats the difference between empty and noempty of GDG?
What is the max blocksize for a Tape file?
if we give TIME=0 how many sec that job/step
can we bowse or edit the GDG dataset if it is a tape entry?
What is DSNDB06 ?
can we give instream data in procedure
how many max steps can we use in a job? pls answer to my question
what happens if job falls in loop ? how to resolve it ?
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this: