TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-185
#GETPROCESSSTATE Built-In Function
#GETPROCESSSTATE Built-In Function
Use #GETPROCESSSTATE to obtain process state information for the current TACL
process.
option
can be zero or more of these:
LOGGEDON
requests the logged-on state of the TACL process. A value of 1 indicates that
the TACL process is in a logged-on state and that the TACL process default
file security, process access ID (PAID), creator accessor ID (CAID), and
remote logon flags were set to their appropriate values by the operating
system.
The LOGGEDON option always returns a value of 1, because a TACL process
must be in the logged-on state to invoke the #GETPROCESSSTATE built-in
function.
TSNLOGON
requests information about whether or not Safeguard software authenticated
the TACL process. A value of 1 indicates that Safeguard software
authenticated and created the TACL process or that the TACL process is a
descendent of a local process that had the TSNLOGON flag set. A value of 0
indicates that Safeguard software did not authenticate or create the TACL
process.
The default value is 0 for a regular TACL process and 1 for a TSN-TACL
process or a TACL process started by a TSN-TACL process.
TSNLOGOFF
requests information about authentication and logged-on state of the TACL
process. A value of 1 indicates that Safeguard software authenticated the
TACL process and that the process was subsequently logged off.
The TSNLOGOFF option always returns a value of 0, because a TACL
process must be in the logged-on state to invoke the #GETPROCESSSTATE
built-in function.
INHERITEDLOGON
requests information about authentication of the TACL process. A value of 1
indicates that the TACL creator authenticated the user of the TACL process.
When this occurs, the TACL process skips user authentication and the process
starts in the logged-on state. A value of 0 indicates that the process that
#GETPROCESSSTATE [ / option [ , option ] ... / ]