HP NonStop NS manual Spooler Shutdown File, TMF Shutdown File, Obey $SYSTEM.SHUTDOWN.SPLDRAIN

Models: NonStop NS

1 266
Download 266 pages 1.32 Kb
Page 223
Image 223

Creating Startup and Shutdown Files

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

HP Integrity NonStop NS-Series Operations Guide529869-005

16-23

Page 223
Image 223
HP NonStop NS manual Spooler Shutdown File, TMF Shutdown File, Obey $SYSTEM.SHUTDOWN.SPLDRAIN