The Datacom Server region hangs after running SVCOMPR program with an EOJ command to shutdown the region.
Datacom/Server
If there is a server task with an active request in MUF when you EOJ, the Datacom Server waits until a response is received. Then, it will shut down.
If there is a server connection which is idle (connection is open but waiting for a response from the client) then Datacom Server will terminate it after an EOJ.
To diagnose the problem it is necessary to see what is running before the EOJ is issued.
Add the following commands before the EOJ to help diagnose the problem:
STATUS
DB_THREADS
TRACEON
EOJ
Also make sure TIMEOUT and TIMEOUTWAIT are specified in the Server startup parameters to terminate idle connections.
TIMEOUT will terminate an idle connection but only if there is some activity in the Server.
Specifying TIMEOUTWAIT will wake up an inactive Server to see if something needs to be timed out. It should be set to just a bit longer than TIMEOUT.
See documentation section Communication Utility (SVCOMPR)