Actually, I think that inside VSAM, what is specified via SHAREOPTIONS would override any JCL. But, you need to get past the JCL during allocation before VSAM can take over.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Tony Thigpen > Sent: Tuesday, July 10, 2018 3:08 PM > To: [email protected] > Subject: Re: z/OS JCl vs. VSE JCL: VSAM files > > So, DISP=SHR is not the default, as I thought was implied by John's statement > that "Z/os VSAM is always accessed as DISP=SHR." > > Tony Thigpen > > Gibney, Dave wrote on 07/10/2018 05:49 PM: > > If DISP=SHR (that is if not DISP is provided), then the JCL Default of > > (NEW,PASS) would happen and the job would fail > > > >> -----Original Message----- > >> From: IBM Mainframe Discussion List [mailto:IBM- > [email protected]] > >> On Behalf Of Tony Thigpen > >> Sent: Tuesday, July 10, 2018 2:43 PM > >> To: [email protected] > >> Subject: Re: z/OS JCl vs. VSE JCL: VSAM files > >> > >> Then, why does every VSAM DD for every z/OS site I have worked with, > >> always include DISP=SHR? > >> (I guess, because it's a habit from non-VSAM files and nobody told > >> them they did not have to do it.) > >> > >> Tony Thigpen > >> > >> John Clifford wrote on 07/10/2018 04:16 PM: > >>> Z/os VSAM is always accessed as DISP=SHR. > >> > >> --------------------------------------------------------------------- > >> - For IBM-MAIN subscribe / signoff / archive access instructions, > >> send email to [email protected] with the message: INFO > >> IBM-MAIN > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, send > > email to [email protected] with the message: INFO IBM-MAIN > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
