"DISP is always for the dataset and not the member" The problem is that DISP means different things. If you are a JCL coder, then DISP is a parameter that indicates the current status of the dataset and what is to become of it after the jobstep completes: DISP=(NEW,CATLG).
If you are using SVC 99 or looking at JFCBs then disposition means only the latter of those two things, what is to become of the dataset. The current status is called -- drum roll please -- status. I think it is safe to say that "disposition" -- what happens after the jobstep completes -- DELETE, CATLG, etc. -- is always for the dataset and not the member. "DISP=" -- which includes the current status of the dataset -- NEW, MOD, OLD -- is for both the dataset AND the member. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of R.S. Sent: Sunday, March 06, 2011 2:16 AM To: [email protected] Subject: Re: Difference between DISP=NEW and MOD for a PDS member? W dniu 2011-03-06 05:41, Chris Mason pisze: > Charles > > The bottom line lacks copper. > >> DISP=NEW fails if the PDS already exists > > Not if the name of a non-existent member is specified. Yes, DISP=NEW fails if the PDS already exists. Even if nonexistent member is specified. At least my poor z/OS claims so. (Read: I just tested it). And I dare to repeat: DISP is always for dataset, not for the member. That's what we observe everyday: DELETE deletes PDS(E), NEW requires SPACE and creates new PDS(E) on disk. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

