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

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
mbisa
Posts: 7
Joined: Thu Nov 15, 2007 11:57 am
Skillset: cobol
Referer: through internet

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

Postby mbisa » Thu Nov 15, 2007 1:28 pm

HI,
wanna ask how would u xplain this DISP=(NEW,PASS)
TNX.

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

Re: DISP

Postby CICS Guy » Thu Nov 15, 2007 3:56 pm

mbisa wrote:wanna ask how would u xplain this DISP=(NEW,PASS)
Why don't you look it up and tell us?
DISP Parameter

Lina
Posts: 8
Joined: Sun Nov 25, 2007 2:12 pm
Skillset: COBOL,JCL,Db2
Referer: Browsing

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

Postby Lina » Sun Nov 25, 2007 8:40 pm

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

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

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

Postby NicC » Tue Oct 30, 2018 9:48 am

The above link is out of date. This is the latest:
DISP Parameter
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

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

Postby steve-myers » Tue Oct 30, 2018 10:25 am

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.

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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

Postby Robert Sample » Tue Oct 30, 2018 10:06 pm

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.


  • Similar Topics
    Replies
    Views
    Last post