NonStop NS-Series Operations Guide (H06.12+)
== This is $SYSTEM.SHUTDOWN.STOPLH
== This shuts down the direct-connect line
ALLOW 20 ERRORS
ABORT LINE $Case2elh
Spooler Shutdown File
This example shows a TACL command file that drains the spooler.
This file can be invoked automatically from the STOPSYS file, or you can invoke it by using the
following TACL command:
> OBEY $SYSTEM.SHUTDOWN.SPLDRAIN
To maintain the integrity of the spooler environment, HP recommends that you wait until the
spooler has finished draining rather than stop any spooler processes by using the TACL STOP
command.
comment -- This is $SYSTEM.SHUTDOWN.SPLDRAIN
comment -- This file drains the spooler subsystem leaving all jobs intact.
SPOOLCOM $SPLS; SPOOLER, DRAIN
TMF Shutdown File
This example shows a TMFCOM command file that stops the Transaction Management Facility
(TMF) subsystem.
This file can be invoked automatically from the STOPSYS file, or you can invoke it by using the
following TACL command:
> TMFCOM / IN $SYSTEM.SHUTDOWN.TMFSTOP, OUT $ZHOME /
To maintain the integrity of the TMF environment, HP recommends that you wait until all
transactions have finished rather than stop any TMF processes by using the TACL STOP command.
! comment -- This is $SYSTEM.SHUTDOWN.TMFSTOP
! comment -- This file stops any new transactions from being started,
! comment -- allows any transactions in process to finish, and then
! comment -- stops the TMF subsystem.
DISABLE BEGINTRANS; STOP TMF, WAIT ON; EXIT
190 Creating Startup and Shutdown Files










