Usage notes
- STOP CMDSERV stops the command server from processing commands in the
system-command input queue (SYSTEM.COMMAND.INPUT), mover commands, and commands
using CMDSCOPE.
- If this command is issued through the initialization files or through
the operator console before work is released to the queue manager (that is,
before the command server is started automatically), it prevents the command
server from starting automatically and puts it into a DISABLED state. It
overrides an earlier START CMDSERV command.
- If this command is issued through the operator console or the command
server while the command server is in a RUNNING state, it stops the command
server when it has finished processing its current command. When this happens,
the command server enters the STOPPED state.
- If this command is issued through the operator console while the command
server is in a WAITING state, it stops the command server immediately. When
this happens, the command server enters the STOPPED state.
- If this command is issued while the command server is in a DISABLED or
STOPPED state, no action is taken, the command server remains in its current
state, and an error message is returned to the command originator.