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
Explain about LMFREE�free data set from its association with data ID
how would you create a temporary dataset? And where will you use them?
What are hierarchy levels in jcl?
what is DD statement is used in JCL?
Is acct parameter mandatory?
What is the function of dd name parameter with a 2 part structure; audit.report?
how to compare two datasets without using superce because output is limited to 133 bytes
Brief description of inline procedure of jcl.
Explain dd statement in jcl?
Explain how can a stopped job be started again?
when does a dataset go uncataloged?
Are there any set of rules for the names of the steps used in a job?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Is their any set of rules for dd? Explain.
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?