TS/MP 2.5 System Management Manual

The ABORT option allows send statements to a server class to complete, but the TERM might be
aborted before the server class can reply. Work does not necessarily stop on transaction boundaries,
so the status of the transaction is unknown.
If completing outstanding transactions is important to your application, use the ORDERLY option.
The ORDERLY option opens and closes unlinked server processes, permitting the performance of
any epilog processing.
Specifying the IMMEDIATE Option
To bring down the system as quickly as possible, use the IMMEDIATE option, as shown in this
example:
= SHUTDOWN2, MODE IMMEDIATE
This command uses the Guardian procedure call, STOP, to stop:
All running TCPs (that are locally controlled)
All server processes still running after the TCP is stopped
The IMMEDIATE option is the quickest way to shut down a PATHMON environment, but you must
consider these consequences before specifying this option:
If completed successfully, the IMMEDIATE option stops objects immediately, regardless of the
presence of pending requests and incomplete operations. Unlinked server processes are not
able to perform any epilog processing.
The status of any outstanding transactions is unknown.
Escalating the Shutdown Operation
If you choose the ORDERLY or ABORT option, you can escalate the shutdown operation by pressing
the Break key and then specifying a faster option.
For example, if you specify ORDERLY, but find that you require a faster shutdown, you can press
the Break key and then specify either the ABORT option or, for fastest shutdown, the IMMEDIATE
option, as shown in this example:
Shutdown begins. You decide to escalate the shutdown operation, so
you press the Break key.
= SHUTDOWN2, MODE ORDERLY
The PATHCOM prompt returns.=
You specify the SHUTDOWN2, IMMEDIATE command for the fastest
shutdown possible.
= SHUTDOWN2, MODE IMMEDIATE
Once the shutdown operation completes, the PATHCOM prompt
returns.
=
NOTE: Pressing the Break key does not affect the execution of the shutdown process. It simply
returns the PATHCOM prompt to your terminal so that you can enter other commands: for example,
STATUS PATHWAY or a more forceful SHUTDOWN2 option. For more information, see “Using
PATHCOM During Shutdown” (page 49).
You can also specify a TIMEOUT option that helps you escalate SHUTDOWN by returning the
PATHCOM prompt within a specified time period. This command specifies a five-minute timeout
option:
= SHUTDOWN2, MODE ORDERLY, UNTIL TIMEOUT 5 MINS
If the shutdown operation has not completed after five minutes, the PATHCOM prompt returns while
the shutdown operation continues.
The TIMEOUT option is especially useful if you want to escalate the shutdown operation from within
a command file or TACL routine.
Shutting Down a PATHMON Environment 45