Troubleshooting
Problem
You have a local managed application system (LMAS) that hangs at shutdown. It is waiting for a non-system task to end. You find the CONL transaction is preventing the CICS shutdown and it is in an MVS wait external.
Cause
A CEMT PERFORM SHUT IMMEDIATE was issued against the CICSPlex SM address space (CMAS)
Diagnosing The Problem
You have an automated operator defined that shuts down all of your CICS regions at the same time. This operator uses a CEMT P SHUT I, with no distinction between a CMAS and an LMAS (CICS REGION).
A dump of the hung CICS MAS shows the following stkfrm for the CONL task:
Kernel linkage summary for component - KNL / Kernel Linkage
Task Meth Load-Pt OPB OSSB Stack Mal MODB
71 XLEV 163FAAC8 162DB398 162DB518 162DB540 00000000 16B0DE60
71 XLES 1676F4B0 162DB398 162DB518 162DB688 162DB1D0 16B0DE60
71 CITM 16919A78 162DB398 162DB518 162DBA90 162DB8B0 16B15560
71 CLTM 1691CC18 162DB398 162DB518 162DBD30 162DBC50 16B15560
71 XSWX 167941A8 162DB398 162DB518 162DC1B0 162DBFF8 16B11160
The POST PC routine has posted the CLIC_SRV_ECB but CLET LEEI ICT task in the CMAS no longer exists. This can result in an overlay of some other tasks storage with a post as well as this wait of the CONL task.
The CMAS EYULOG does not contain any of the normal shutdown messages due to the CEMT P SHUT,I. No EYUCL0009I message is created for an ICT DETACH for the LEEI task indicating that CLET no longer existed to process the detach request from the CONL task. This results in the CONL task waiting forever as the CMAS cannot post the task.
Resolving The Problem
Do not use CEMT PERFORM SHUT IMM to stop a CMAS. There are a number of options that can be used to shut down a CMAS that will cause the least amount of trouble across a CICSPlex.
Product Synonym
CICSPlex SM CICSPlexSM CPSM CP/SM
Was this topic helpful?
Document Information
Modified date:
24 August 2026
UID
swg21047524