HP (Hewlett-Packard) NS-series Network Card User Manual


 
Creating Startup and Shutdown Files
HP Integrity NonStop NS-Series Operations Guide—529869-005
16-23
Spooler Shutdown File
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