NonStop NS-Series Operations Guide (H06.12+)
Comment -- then terminate.
Comment -- This file is used to reload the remaining processors and
Comment -- start a TACL process pair for the system console.
Comment -- Reload the remaining processors.
RELOAD /TERM $ZHOME, OUT $ZHOME/ *
Comment -- Use SCF to start a persistent TACL process pair for the
Comment -- system console TACL window.
Comment -- Use the OSM Low-Level Link to start a TTE session
Comment -- for the startup TACL before issuing this command (see the
Comment -- Start Terminal Emulator command under the File menu). This SCF
Comment -- command must be the last command in this file, because the TACL
Comment -- process creates displays a prompt and attempts to read from
Comment -- $YMIOP.#CLCI, blocking other processes from writing to this
Comment -- device.
SCF /NOWAIT, OUT/ START PROCESS $ZZKRN.#CLCI-TACL
Writing Efficient Startup and Shutdown Command Files
TACL and by many subsystems support command files. Command files for startup or shutdown
contain a series of commands that automatically execute when the file is executed. To automate
and reduce the time required to start and stop your applications, devices, and processes:
• Include commands in one or more command files that you invoke from either a TACL
prompt or another file.
• Write efficient startup and shutdown command files.
— Use command file syntax that executes quickly.
— Avoid manual intervention to ensure that command files execute quickly
— Use parallel processing to distribute startup and shutdown processes across multiple
processors.
— Investigate and use product-specific techniques for fast startup and shutdown.
Command File Syntax
The syntax in command files affects the time it takes for them to execute. To ensure that your
command files execute quickly:
• Avoid using wild-card characters in command files
A wild card is a character—typically an asterisk (*) or a question mark (?)—used to match
any character or series of characters. When you use wild-card characters in your command
files, execution time is increased because the system must look up names in a table. By using
explicit names instead of wild-card characters, you shorten execution time and allow for
commands to execute in parallel.
This PATHCOM START command uses a wild-card character to start all of the TERM objects
defined in the PATHMON configuration file:
= START TERM *
This PATHCOM START command uses explicit names to start all of the TERM objects
defined in the PATHMON configuration file:
= START TERM (TERM1, TERM2, TERM3, TERM4, TERM5, TERM6)
Writing Efficient Startup and Shutdown Command Files 179










