IBM Support

CICS TS VSE/ESA 1.1.1 shutdown hangs when using DFHJCJCX

Question & Answer


Question

Why is my CICS Transaction Server for VSE/ESA (CICS TS) V1.1.1 region hanging at shutdown after I enable ENQ/DEQ exit XKCREQ which calls DFHJCJCX? The region continues to hang until I cancel it. I am using the shutdown assist program DFHSDAP but it did not help in this case.

I use the following command to enable exit XKCREQ in the CICS region so the exit should control before every ENQUEUE and DEQUEUE request:

 EXEC CICS ENABLE EXIT(XKCREQ) PROG(program) GALENGTH(1000) START 

The exit program contains these exit programming interface (XPI) commands:

 DFHJCJCX CALL,CLEAR,IN, 
       FUNCTION(WRITE_JOURNAL_DATA), 
       FROM(FROM_BLK), 
       JOURNAL_ID(02), 
       JOURNAL_RECORD_ID('WK'), 
       WAIT(NO), 
       OUT, 
       RESPONSE(*), 
       REASON(*) 
 
 DFHXMIQX CALL,CLEAR,IN, 
       FUNCTION(INQUIRE_TRANSACTION), 
       OUT, 
       TRANSACTION_ID(tran), 
       TRANNUM(trno), 
       RESPONSE(*), 
       REASON(*) 

Dump analysis: Dispatcher shows that USER task is active with resource type JCBUFFER and RESOURCE_NAME is AVAIL_02 . AVAIL_02 is CICS Journal02. So it appears that there is deadlock situation.

Answer

Disable the exit that is calling DFHJCJCX before shutting down your CICS TS VSE/ESA 1.1.1 region.

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

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
18 June 2015

UID

dwa1197173