Page 1 of 1

How would u xplain this DISP=(NEW,PASS)

PostPosted: Thu Nov 15, 2007 1:28 pm
by mbisa
HI,
wanna ask how would u xplain this DISP=(NEW,PASS)
TNX.

Re: DISP

PostPosted: Thu Nov 15, 2007 3:56 pm
by CICS Guy
mbisa wrote:wanna ask how would u xplain this DISP=(NEW,PASS)
Why don't you look it up and tell us?
DISP Parameter

Re: How would u xplain this DISP=(NEW,PASS)

PostPosted: Sun Nov 25, 2007 8:40 pm
by Lina
Incase you are wondering what the third parameter is, it is PASS.

Whenever the third keyword is not specified , it takes the same value as the second

Re: How would u xplain this DISP=(NEW,PASS)

PostPosted: Tue Oct 30, 2018 9:48 am
by NicC
The above link is out of date. This is the latest:
DISP Parameter

Re: How would u xplain this DISP=(NEW,PASS)

PostPosted: Tue Oct 30, 2018 10:25 am
by steve-myers
Lina wrote:Incase you are wondering what the third parameter is, it is PASS.

Whenever the third keyword is not specified , it takes the same value as the second

The link provided by NicC does not say this. PASS is not a valid conditional disposition parameter.

Re: How would u xplain this DISP=(NEW,PASS)

PostPosted: Tue Oct 30, 2018 10:06 pm
by Robert Sample
Whenever the third keyword is not specified , it takes the same value as the second
This is partially true. From the MVS JCL Reference manual V2.3, page 169:
If you omit the abnormal termination disposition subparameter, the default is the disposition specified or implied by the second subparameter. However, if the second subparameter specified PASS, the default abnormal termination disposition is DELETE for a NEW data set or KEEP for an existing data set.