View previous topic :: View next topic
|
Author |
Message |
saba2309
New User
Joined: 22 Dec 2022 Posts: 5 Location: Malaysia
|
|
|
|
Hi!
we have a batch program to call online which does the housekeeping operation like read the VSAM KSDS file sequentially and delete the record if the record is beyond the retention days. its a daily job.
Beside the same VSAM file also used to read , write, rewrite for live transactions in online.
- Reorg of VSAM dataset done on monthly
The batch job fails with S522 (timeout) and EXCI task abends with AZI4. The same job resubmitted again which got executed successfully.
CICS system programmer claims that it cannot get exclusive control of a VSAM control interval. Another task already has shared or exclusive control of the control interval, so your task is suspended pending the release of that control interval.
I would like to check is there any relation with AZI4 and exclusive control of a CI?
Shall I assume coincidently there were no task to hold exclusive control of CI when the same job submitted again which successfully completed?
Thank you |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Check how VSAM data set is defined with what properties ( is it RLS ? ) and why does it have to be EXCI ? Why not simple batch to delete periodically? |
|
Back to top |
|
|
saba2309
New User
Joined: 22 Dec 2022 Posts: 5 Location: Malaysia
|
|
|
|
Thanks Rohit for the response.
It is a non-RLS dataset. It was the original design from batch to online do a housekeeping.
we have some plans to change the design.
Thanks |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Sounds good thanks |
|
Back to top |
|
|
|