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 ?
Answer Posted / 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 |
Post New Answer View All Answers
what happens in conversion stage in job processing?
what is “Cond= even” and “Cond=only”?
Where & How Do You Code Identifier In Jcl?
in ways data can be passed to a COBOL program from JCL?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Can we call instream to catalog and catalog to instream?
what is SOC4 error?
Explain how can a stopped job be started again?
What is the function of //jcllib statement?
what is the purpose of coding notify parameter in job statement?
How can a fb file convert to vb file using sort program?
In sms datasets, what is the function of the dd mgmtclas keyword?
In job processing, what happens in execution stage?