IBM Support

Unable to purge CICS transaction hung in DFHZEMW1 wait

Question & Answer


Question

Why wasn't I able to use CEMT to either purge or forcepurge a transaction hung in a ZC DFHZEMW1 wait in CICS Transaction Sever for z/OS (CICS TS)?

Answer

DFHZEMW1 (Error Message Writer) sent a SIGNAL to a terminal to ask for permission to change to SEND mode. This would allow it to send an error message to the user. CICS issues an RPL (Request Procedure List) to VTAM to receive the answer. The RPL points to storage in CICS where VTAM will record the answer. CICS can not make the task go away until the RPL is no longer active to VTAM (to avoid a storage violation when the answer is returned). An answer to the SIGNAL request is required from the device to complete the RPL and allow CICS to take any further action on the terminal or the task. The real problem is with the lack of a response from the device.

Use VTAM to release the netname from its session with CICS instead of trying to purge the task in CICS. This will complete the RPL and allow CICS to complete the abend of the task. This will not fix the problem with the device but will get around having a hung task in the region.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"CICS Transactions","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
17 November 2015

UID

dwa1235194