Normal shutdown

A normal shutdown of CICS® causes FEPI to shut down normally - active transactions are allowed to terminate. When all active conversations have ended and all FEPI resources have been discarded, FEPI shuts down.

While FEPI is shutting down, no new conversations can be started, but existing owned conversations continue. However, these cannot use the FEPI START or FEPI FREE PASS commands. Existing unowned conversations are ended immediately. Any FEPI transactions that you want to be able to start during CICS shutdown must be defined in the transaction list table (XLT).

If an end-session handler is invoked at the end of conversations, it is told that the session is to be ended because of CICS shutdown. The handler can choose to perform additional back-end operations that might be needed because of the shutdown. If you require this function, make sure the end-session handler transaction is defined in the transaction list table (XLT), and that it does not adversely affect the performance of CICS shutdown. (For details of how to define entries in the XLT, see Transaction list table (XLT) .)

CICS normal shutdown waits until FEPI shutdown has completed before continuing processing. So if you know when CICS shutdown is to occur, you should initiate FEPI DISCARD operations before starting CICS termination. Removing FEPI resources as they become inactive allows existing FEPI conversations to continue, but prevents new ones from starting. You could achieve the same effect by setting the status of FEPI resources to OUTSERVICE,RELEASED.

If shutdown is not proceeding, then before you force it to continue, consider carefully whether the problem is due to:
  • A back-end system taking a long time to respond. In this case, do not attempt to speed things up—you may generate integrity errors in the back-end system.
  • A FEPI failure. In this case, issue the following commands, pausing after each step to see whether CICS is still waiting:
    1. CEMT DISCARD FExxxx(*), to remove all FEPI resources
    2. CEMT SET FECONNECTION(*) OUTSERVICE RELEASED, to end any waiting conversations
    3. CEMT SET TASK(nnn) FORCE, to end any running FEPI transactions
    4. Attempt to issue z/OS® Communications Server VTAM VARY NET,INACT,FORCE commands from the system console to terminate connections.

If CICS shutdown still does not proceed, you cannot perform a warm shutdown. Try issuing a CEMT P SHUT IMMEDIATE command. If this fails, you must cancel CICS .



dfhp72t.html | Timestamp icon Last updated: Sunday, 4 June 2017