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


Please Help Members By Posting Answers For Below Questions

Explain the function of the dd dcb keyword?

692


how can the same proc be re-used and called by many jobs?

903


Where & How Do You Code Identifier In Jcl?

691


what is use of dsn parameter in dd statement?

665


when can a job time-out occur? How to overcome that?

745






Name the parameters which can be used to limit the number of records written to a sysout dataset?

648


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2092


which utility is used a dummy utility?

780


Explain the function of //jcllib statement?

696


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1958


What is the function of dd name parameter with a 2 part structure; audit.report?

693


how you will the direct the data to spool using sysout option?

1752


Is automatic restart possible in jcl?

724


What is job control language?

605


Why block size is multiple of lrecl in jcl?

906