There may be times when the Datacom Multi-User Facility (MUF) will not come down when you issue a COMM OPTION=EOJ (normal shutdown).
The following message is issued:
DB00244I EOJ DELAYED, ACTIVE TASKS: task1, task2,...,taskn
The DB00244I message will tell you what active tasks exist in the MUF that are delaying the EOJ. These tasks have to complete before the MUF will end successfully. From the DB00244I message documentation:
Reason:
This message occurs if the Multi-User Facility (MUF) is told to EOJ while jobs are still connected. In this process, MUF must allow no new connects to start and must wait for current jobs to end. This message provides information that allows the operator that requested the EOJ to know what jobs are still connected and why the MUF is not yet ending. In the message text, task1 is the ID of the first task that is still active, followed if necessary by any other tasks that are still connected.
Action:
While this message is for informational purposes, be aware that some jobs might need to be told to disconnect from the MUF in order to allow the EOJ to complete.
There can be several reasons why this happens. Here are three of the most common reasons why the MUF will not shut down:
In summary, a MUF that is processing a lot of requests is not going to come down immediately. How busy the MUF was at the time the EOJ was requested can make a difference in how long it will take for it to end. If you decide to "operator cancel" the MUF to get a quick end, the RESTART process of the next startup of the MUF will have additional work and can actually take longer than usual to come back up.
See documentation sections DB00244I, Terminating the MUF, COMM EOJ (End MUF Processing) and article 280097 - Disconnecting multiple CICS regions when recycling a MUF