Re: Duplicate input files




Ron wrote:
"Alistair" <alistair@xxxxxxxxxxxxxxxxxxxxx> wrote:
Down the pub last night a former colleague told me of a problem using
the same file via two DDs as input to a batch Cobol program. Under MVS
he gave each DD a disp=shr but received an error message preventing
successful execution.

Assuming that OPEN INPUT was done on each file, then this
could easily fail if this was a VSAM file. A DISP=SHR goes
only so far with VSAM. You need to check what the
SHAREOPTIONS (do a LISTCAT on the cluster) are set to.

--
Ron
(user ron
in domain spamblocked.com)

A good point. I think these were ordinary sequential datasets not VSAM,
but I shall pass that point on. Thanks.

.



Relevant Pages

  • Re: VSAM Performance & Options - Food for Thought
    ... Behalf Of Jim Marshall ... VSAM Performance & Options - Food for Thought ... found Systems Programmers have little clue about VSAM files and blindly ... Ron got in on the ...
    (bit.listserv.ibm-main)
  • VSAM Performance & Options - Food for Thought
    ... for VSAM applications where the programmers know nothing about VSAM and ... found Systems Programmers have little clue about VSAM files and blindly follow ... A running product which dynamically adjusts the buffers will ... The person I replaced was Sgt Ron ...
    (bit.listserv.ibm-main)