Guardian Programming Reference Summary for pTAL and TAL
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-1
6
Procedure Calls Summary (G-N)
This section lists procedure calls in alphabetic order and briefly describes the syntax of 
each. For additional information about the procedure calls, refer to the Guardian 
Procedure Calls Reference Manual. 
GETPCPBINFO 
Provides a process with information from its own (the current) process control block 
(PCB).
CALL GETCPCBINFO ( request-id
 ,cpcb-info
 ,in-length
 ,out-length
 ,error );
request-id, INT:value input
0 Remote creator flag; returns 1 in cpcb-info if creator was remote.
1 Logged-on process state; returns 1 in cpcb-info if the process has logged on.
2 Safeguard-authenticated logon flag; returns 1 in cpcb-info if the process was started 
after you successfully logged on to a terminal owned by Safeguard.
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. 
cpcb-info, INT:ref:* output
in-length, INT:value input
out-length, INT:ref:1 output
error, INT:ref:1 output










