TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-397
#SWITCH Built-In Function
#SWITCH Built-In Function
Use #SWITCH to make your TACL backup process become the primary process and
initialize itself as though you had just logged on to it. The former primary process
becomes the backup.
Considerations
•
Your TACL must have a backup process. To create a backup process, include a
backup specification in the #NEWPROCESS call or RUN command, or use the
BACKUPCPU command.
•
Do not include #SWITCH in an IN file specified in a command to run TACL; if you
do so, TACL performs the switch before processing other commands-and each
switch causes an initialization-so that the TACL process continues to switch
processors.
•
#SWITCH establishes an initial logon state, resetting all ASSIGNs, PARAMs, and
DEFINEs, invoking the TACLLOCL file and your TACLCSTM file, and setting the
history buffer index to 1.
#SWITCH