TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-421
#WAKEUP Built-In Variable
#WAKEUP Built-In Variable
Use #WAKEUP to set or obtain the current state of the WAKEUP flag. If the WAKEUP
flag is on, #PAUSE (or PAUSE) ends when any process you started stops, instead of
when the last process you started stops.
Result
#WAKEUP returns the current state of the WAKEUP flag: -1 if the flag is on, 0 if it is
off.
Considerations
•
When you first log on, #WAKEUP is initialized to zero.
•
Use #PUSH #WAKEUP (or PUSH #WAKEUP) to save a copy of the current setting
of the WAKEUP flag.
•
Use #POP #WAKEUP (or POP #WAKEUP) to restore the WAKEUP flag setting
from the last copy pushed.
•
Use #SET #WAKEUP (or SET VARIABLE #WAKEUP) to set the state of the
WAKEUP flag.
The syntax of #SET #WAKEUP is:
num
is -1 to set the flag on and 0 to set it off.
#WAKEUP
#SET #WAKEUP num