IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Batch call online program, EXCI task abends with AZI4


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saba2309

New User


Joined: 22 Dec 2022
Posts: 5
Location: Malaysia

PostPosted: Thu Dec 22, 2022 5:15 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Fri Dec 23, 2022 9:58 am
Reply with quote

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
View user's profile Send private message
saba2309

New User


Joined: 22 Dec 2022
Posts: 5
Location: Malaysia

PostPosted: Fri Dec 23, 2022 3:13 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Fri Dec 23, 2022 9:26 pm
Reply with quote

Sounds good thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top