[Default] On 10 Jul 2018 15:33:56 -0700, in bit.listserv.ibm-main
johnrcl...@gmail.com (John Clifford) wrote:

>it is not the default but is the only correct way to access a vsam file.
>disp=shr,dsn=xxxx.vsam (possible bufno,bufni,...etc)
>
>Never disp=new or delete.   Disp=old can be used if you need to make sure
>you are the only one accessing the file but if it is open in CICS it will
>hang.

As of over 13 years ago, you could allocate a VSAM file in JCL and
even a temporary one.  I never used the facility but it is there.

Clark Morris
>
>On Tue, Jul 10, 2018 at 6:07 PM, Tony Thigpen <t...@vse2pdf.com> wrote:
>
>> 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-MAIN@LISTSERV.UA.EDU]
>>>> On Behalf Of Tony Thigpen
>>>> Sent: Tuesday, July 10, 2018 2:43 PM
>>>> To: IBM-MAIN@LISTSERV.UA.EDU
>>>> 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
>>>> lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>>>
>>>
>>> ----------------------------------------------------------------------
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>>
>>>
>>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to