Effect of Task Completion on ENQUEUE

book

Article ID: 209373

calendar_today

Updated On:

Products

CA IDMS

Issue/Introduction

While  implementing  a Enqueue/Dequeue processing for two tasks which are accessing the same IDMS record to prevent them deadlocking 

If the first task which is sets an exclusive enqueue at a resource is abending before it had dequeued this resource again, what happens with this resource? 

Is this resource still held exclusively by this task or is it related to this task and also released when this task didn't exists anymore?

 

Environment

Release : 19.0

Component : CA ADS

Resolution

Enqueue gets released even when task is abending before it had dequeued or task ends successfully.