Task control waits
If your task is waiting on a resource type of KCCOMPAT or KC_ENQ, it has been suspended by the transaction manager. If your task is waiting on a resource type of EKCWAIT, it has been suspended by task control.
KC_ENQ indicates that CICS® code acting for a task has issued an EXEC CICS ENQ command or a DFHKC TYPE=ENQ macro. If there is an extended wait for no apparent reason, this might indicate an error within CICS. If that turns out to be the case, contact the IBM® Support Center.
USERWAIT indicates that a task has issued an EXEC CICS WAIT EVENT EXTERNAL or an EXEC CICS WAITCICS command.
EKCWAIT indicates that a task has issued an EXEC CICS WAIT EVENT command.
If the wait is prolonged, you should identify the event being
waited on, and:
- Check that the EXEC CICS WAIT EVENT command specified the correct event.
- Check for problems with the task that should be completing the work for the specified event. It might be waiting or looping, it might have a performance problem, or it might have failed completely.