Author: Kerry Ropar
Posted: Thu Oct 13, 2016 5:23 am (GMT 5.5)
Below from IBM manuals:
Posted: Thu Oct 13, 2016 5:23 am (GMT 5.5)
amitc23 wrote: |
But this is working fine in another CICS region |
Below from IBM manuals:
Quote: |
SHAREOPTIONS (2 3) is specified for the file. This means only one job can open the dataset for update in a single MVS image and full sharing is allowed for separate MVS images. In the working case, where CICS and the batch job are in separate MVS images, it is the second part of SHAREOPTIONS (the 3) that is in effect. This option allows full sharing. In the failing case, where CICS and the batch job are in the same MVS image, it is the first part of SHAREOPTIONS (the 2) that is in effect. The 2 only allows one job to open the dataset for update. But, both CICS and the batch job were attempting to open the file for update. |