A task fails with the following error message:
DC001003 Vnn Tnnn TASK:xxxxxxxx PROG:yyyyyyyy STALLED WAITING FOR ECEECB AT nnnnnnnn
What causes a wait on ECEECB?
Release: All releases
Component: CA IDMS/DB
A wait on ECEECB means a CA IDMS enqueue has been issued by a user program (PROG:yyyyyyyy in the message) on a resource which is being held by another task. The enqueue is done with a #ENQ macro or ENQUEUE DML statement. The resource is then freed with a #DEQ macro or DEQUEUE statement. When using ENQUEUE/DEQUEUE there's the possibility that if the task that has the enqueue begins to wait or has some type of delay, others will be prevented from accessing that resource. This can lead to tasks stalling or deadlocking.
Investigate why the task in the message (TASK:xxxxxxxx) is running slow. There may be too many of the tasks doing the ENQUEUE running at the same time. The SYSGEN clause MAX CONCURRENT on the task can be used to limit the number of these tasks running concurrently.
See the CA IDMS Reference documentation section Event Control Block (ECB) Information