Troubleshooting
Problem
Your CICS Transaction Server for z/OS (CICS TS) region is hanging indefinitely after you enter CEMT PER SHUT IMMEDIATE. The last message CICS returns is DFHTM1781 stating CICS shutdown can not complete because some non-system user tasks have not terminated. The region comes down successfully when you enter CEMT PER SHUT.
Symptom
In this case, the region also comes down when you enter OMEG SHUT to bring down OMEGAMON prior to doing an immediate shutdown.
Cause
CICS does not run the shutdown (PLTSD) programs when you do an immediate shutdown. Therefore, the OMEGAMON shutdown program does not run. CICS is also unable to run the shutdown assist transaction CESD because RACF authorization is not defined for CESD.
Resolving The Problem
Make sure that you are starting transaction CESD during CICS shutdown. Refer to topic Shutdown assist program, DFHCESD in the CICS TS documentation for instructions.
Also, add transaction CESD to the RACF security system. The following example can be found in topic How it works: Securing CICS with RACF in the CICS TS documentation:
The transaction CEMT is just one of several transactions that a system administrator needs to use as part of their job. Rather than adding definitions for each of these transactions, it is simpler to define the set of transactions in a group of resources known as a member list. This is shown in the following command:
RDEFINE GCICSTRN 1 SYSADM 2 ADDMEM(CEMT,CESD,CETR) 3 UACC(NONE)
PERMIT SYSADM CLASS(GCICSTRN) ID(ADMIN) ACCESS(READ) 4
Afterwards, you should no longer receive message DFHTM1781 because the shutdown transaction will run and have the authority to purge non-system transactions, including the OMEGAMON transaction.
Note: CICS generates message DFHTM1703 when you do an immediate shutdown. You can find this message in your CICS log.
Note: CICS generates message DFHTM1703 when you do an immediate shutdown. You can find this message in your CICS log.
[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"ARM Category":[{"code":"a8m0z00000007MQAAY","label":"Shutdown Startup and Recovery"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"5.4.0;5.5.0;5.6.0;6.1.0;6.2.0"}]
Product Synonym
CICS/TS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
05 January 2026
UID
swg21144620