TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-289
#PMSG Built-In Variable
#PMSG Built-In Variable
Use #PMSG to set or obtain the current state of the PMSG flag. If the PMSG flag is on,
TACL outputs a message giving the process name, the CPU number, and process
identification number of each process you start, and another message each time a
process you started stops.
Result
#PMSG returns the current state of the PMSG flag: 0 if it is off, -1 if it is on.
Considerations
•
When you first log on, #PMSG is initialized to zero.
•
Use #PUSH #PMSG (or PUSH #PMSG) to save a copy of the current setting of the
PMSG flag.
•
Use #POP #PMSG (or POP #PMSG) to restore the PMSG flag from the copy last
pushed.
•
Use #SET #PMSG (or SET VARIABLE #PMSG) to set the PMSG flag on or off.
The syntax of #SET #PMSG is:
num
is a nonzero value to turn the flag on, zero to turn it off.
#PMSG
#SET #PMSG num