Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual—522629-013
6-3
GETCPCBINFO Procedure
3 Safeguard-authenticated logoff state; returns 1 in cpcb-info if the 
Safeguard-authenticated logon flag is set but the process has logged off.
4 Inherited-logon flag; returns 1 in 
cpcb-info if the logon was inherited by the 
process.
5 Stop-on-logoff flag; returns 1 in 
cpcb-info if the process is to be stopped 
when it requests to be placed in the logged-off state.
6 Propagate-logon flag; returns 1 in 
cpcb-info if the process’s local 
descendants are to be created with the inherited-logon flag set.  
7 Propagate-stop-on-logoff flag; returns 1 in 
cpcb-info if the process’s local 
descendants are to be created with the stop-on-logoff flag set. 
16 Logon flags and states; returns current settings of all the logon flags and state 
indicators in 
cpcb-info. 
The bits are defined as follows:
<0:8> (reserved)
<9> Propagate stop-on-logoff
<10> Propagate logon
<11> Stop on logoff
<12> Inherited logon
<13> Safeguard-authenticated logoff state
<14> Safeguard-authenticated logon
<15> Logged-on state
cpcb-info output      
INT:ref:*
is an array that returns with the information requested from the PCB.
in-length input         
INT:value
specifies the length, in bytes, of the 
cpcb-info array. (This is used to prevent 
possible data overrun.)
out-length output         
INT:ref:1
specifies the number of bytes of information returned in 
cpcb-info.
error output         
INT:ref:1
returns a file-system error number indicating the outcome of the PCB information 
request.










