I have been performing some tests. There are a lot of variations: not just
JCL but SVC 99, FTP, etc.

People here love to demonstrate their knowledge. What's wrong with asking
them? Discussion of the city of Toronto's airports is okay but a discussion
of PDS DISP= is not?

The problem is not obvious, as you have seen in having re-thought your first
answer.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of R.S.
Sent: Friday, March 04, 2011 3:07 PM
To: [email protected]
Subject: Re: Difference between DISP=NEW and MOD for a PDS member?

W dniu 2011-03-04 21:03, Charles Mills pisze:
> 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?

DISP is always for dataset, not for member.
DISP=MOD for existing member ends with SB14.
DISP=NEW for existing member ends with JCL ERROR (assumed SMS).
DISP=MOD for non-existing member but existing PDS ends with "pds gas".

BTW: I'd suggest you to simply perform some tests - IMHO it's much 
better than asking others about it.

----------------------------------------------------------------------
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

Reply via email to