TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-187
#GETPROCESSSTATE Built-In Function
If you do not specify any options, #GETPROCESSSTATE returns a space-separated
list with a one or zero for each process state option, specified from left to right as
LOGGEDON, TSNLOGON, TSNLOGOFF, INHERITEDLOGON, STOPONLOGOFF,
PROPAGATELOGON, and PROPAGATESTOPONLOGOFF.
If the #GETPROCESSSTATE built-in function cannot obtain process state information,
the TACL process displays an operating system error and abends.
Considerations
The term TSN-TACL refers to a TACL process that Safeguard software starts after
authenticating the user of the TACL process.
The TSNLOGON flag is set as follows for descendent TACL processes:
°
When a descendent TACL process is created on the same system as the
parent process, the value of the TSNLOGON flag is propagated from the
parent process to the descendent TACL process.
°
When a descendent TACL process is created on a remote system, the
TSNLOGON flag is set to 0 (by the operating system) for that remote process.
The state of PROPAGATESTOPONLOGOFF in the local parent process
determines the initial value of STOPONLOGOFF in the current TACL. If the parent
TACL process is remote, a value of 0 is propagated to the child process.
To stop TACL when it enters a logged-off state, use the #SETPROCESSSTATE
built-in function to set STOPONLOGOFF.
In general, use the #SETPROCESSSTATE built-in function to alter process states
as allowed by security guidelines.
For more information about process state date, see the Guardian Procedure Calls
Reference Manual.