The simple answer: The DISP parameter is for the data set/library and not
members.

For example, DSN=MY.LIBRARY(MYMEM),DISP=(OLD,DELETE) deletes the library and
not just the member. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Charles Mills
Sent: Friday, March 04, 2011 3:03 PM
To: IBM-MAIN@bama.ua.edu
Subject: Difference between DISP=NEW and MOD for a PDS member?

What is the difference between DISP=NEW and DISP=MOD for a PDS member
(member name specified on the DD statement)?

Both disallow duplicate member names. Are there any differences? What?

Charles 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to