The TERMINATE subtask process command is used to stop a specific process running as a subtask.
Syntax
T # | name
Where # is the process number or name is the name of the process to be stopped. Engine numbers are assigned by the Master Controller during startup based on the position of the engine specifications within the startup parameter.
Command Source | Syntax | Abbreviated Syntax |
Operator’s Console | F jobname,T # | name | N/A |
WTOR Reply | wtor#,T # | name | N/A |
Command Queue | T # | name | N/A |
Example
Stop engine subtask #2 from the operator’s console and then display the status of the engine subtasks using the DISPLAY command. Assume that the name of the Master Controller job is SQDAMAST.
F SQDAMAST,T ENGINE2
F SQDAMAST,DISPLAY
Job log/console output:
+SQD0302I: TERM 02 COMMAND ACCEPTED (MQ)
+SQD0308I: ENGINE 02 ENGINE2 NORMAL SHUTDOWN
+SQD0302I: DISPLAY COMMAND ACCEPTED (MQ)
+--------------------------------------------------
+ AGENTS : # NAME STATUS
+--------------------------------------------------
+SQD0308I: ENGINE 01 ENGINE1 ACTIVE
+SQD0308I: ENGINE 02 ENGINE2 NOT RUNNING
+SQD0308I: ENGINE 03 ENGINE3 ACTIVE
+--------------------------------------------------