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 the function of the dd dcb keyword?
how can the same proc be re-used and called by many jobs?
Where & How Do You Code Identifier In Jcl?
what is use of dsn parameter in dd statement?
when can a job time-out occur? How to overcome that?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
which utility is used a dummy utility?
Explain the function of //jcllib statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What is the function of dd name parameter with a 2 part structure; audit.report?
how you will the direct the data to spool using sysout option?
Is automatic restart possible in jcl?
What is job control language?
Why block size is multiple of lrecl in jcl?