The SHUTDOWN command stops the z/OS Master Controller after shutting down each of the process subtasks. The z/OS Master Controller will remain active until each of the process subtasks have been shutdown.
The SHUTDOWN command has two levels:
- NORMAL - Allows each of the process subtasks to stop normally before the Master Controller stops. This is the default unless the P command is entered from the operator’s console, which is interpreted as a STOP FORCE command.
- FORCE - Stops all process subtasks immediately by detaching the TCB of the process(es). This is the default if the P command is issued from the operator’s console. Otherwise, the FORCE keyword must be specified after the STOP command.
Syntax
STOP or STOP FORCE
Command Source | Syntax – Normal Shutdown | Syntax – Forced Shutdown |
Operator’s Console |
P jobname F jobname,STOP |
P jobname F jobname,STOP,FORCE |
WTOR Reply | wtor#,STOP | wtor#,STOP,FORCE |
Command Queue | STOP | STOP,FORCE |
Example
Issue a normal shutdown of the Master Controller using the STOP command from the operator’s console. Assume that the name of the z/OS Master Controller job is SQDAMAST.
F SQDAMAST,STOP
Job log/console output:
+SQD0302I: SHUTDOWN COMMAND ACCEPTED (OPER)
+SQD0308I: ENGINE 01 ENGINE1 NORMAL SHUTDOWN
+SQD0308I: ENGINE 02 ENGINE2 NORMAL SHUTDOWN
+SQD0308I: ENGINE 03 ENGINE3 NORMAL SHUTDOWN
+--------------------------------------------------
+SQD0301I: NORMAL SHUTDOWN COMPLETE RC=00
+--------------------------------------------------
IEF404I SQDAMAST - ENDED - TIME=07.53.46