Re: Duplicate input files
- From: "Alistair" <alistair@xxxxxxxxxxxxxxxxxxxxx>
- Date: 21 Aug 2006 12:09:56 -0700
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.
.
- References:
- Duplicate input files
- From: Alistair
- Duplicate input files
- Prev by Date: Re: Duplicate input files
- Next by Date: Re: Duplicate input files
- Previous by thread: Re: Duplicate input files
- Next by thread: READING 2 RECS before write to PRINT REC
- Index(es):
Relevant Pages
|