TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-357
#SETPROCESSSTATE Built-In Function
#SETPROCESSSTATE Built-In Function
Use #SETPROCESSSTATE to alter the value of a process state flag in the Process
Control Block (PCB) of your logged-on TACL process.
The process state flags can only be set by the process owner.
option
is one of these:
LOGGEDON
specifies 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 default value is 1.
TSNLOGON
specifies 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. 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.
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.
STOPONLOGOFF
specifies whether the current TACL process will be stopped after it enters a
logged-off state. A value of 1 indicates that the current TACL process will be
stopped when it enters a logged-off state. A value of 0 indicates that the
current TACL process will not be stopped; instead, the TACL process will
prompt for another logon. The default value is 0 for a regular TACL process or
a TACL process started by a TSN-TACL process. The default is 1 for a TSN-
TACL process.
If you set the STOPONLOGOFF flag to 1, the current TACL process stops
when it enters a logged-off state.
PROPAGATELOGON
specifies how local descendent TACL processes start. A value of 1 for the
current TACL process indicates that the INHERITEDLOGON state of the child
TACL process will be 1. The new process will start in the logged-on state. A
#SETPROCESSSTATE / option / { 0 | 1 }