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. > DISP=NEW and MOD both fail if the member already exists. I'm still waiting for an explanation of how a member can exist in a partitioned data set that cannot exist - possibly I'm in the wrong universe! Chris Mason On Sat, 5 Mar 2011 11:28:40 -0800, Charles Mills <[email protected]> wrote: >And I guess the bottom line on the original technical question is: > >- DISP=NEW fails if the PDS already exists (or, if you will, "may be used to >make certain that the PDS does not already exist"); DISP=MOD is good either >way. >- DISP=NEW and MOD both fail if the member already exists but fail >differently: NEW fails on the CLOSE with SB14-04 -- this can only happen if >the program creates the member during execution (OPEN, PUT, CLOSE, OPEN, >PUT, CLOSE) because after all the PDS must be brand new; MOD fails on the >OPEN but I am not sure of the exact error. > >Comments? > >Charles >-----Original Message----- >From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf >Of Charles Mills >Sent: Saturday, March 05, 2011 7:26 AM >To: [email protected] >Subject: Re: Difference between DISP=NEW and MOD for a PDS member? > >A lot of replies. Thanks all. Let me try to address various comments in a >single response. ---------------------------------------------------------------------- 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

