Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share options in VSAM datasets

Status
Not open for further replies.

Kpganesh

Programmer
Mar 16, 2002
3
IN
Hi,
We have defined a VSAM dataset with a share option of (1,3) and are opening it in INPUT mode in a COBOL program. Many jobs access this VSAM dataset at the same time and we are getting VSAM contentions with the error message

IEC161I 052(012)-084,JOBNAME,STEP030 M000$,VSAMFILE,,,

which means that someone else has had the file open in OUTPUT mode. but none of our programs are opening the file in OUTPUT mode. so why is this contention occurring? Any ideas pls..
 
SHAREOPTIONS(1,3) = any number of readers, and should work for you, but it sounds like one of your jobs has it open for update. As well as checking your batch jobs, is it used by a CICS region (or regions)? If so, it might be opened for update by CICS if the RDO definition for the file is incorrect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top