System Variables
BKG Background Process Status
Numeric System Variable
 
Contents Integer, process status code.
 
Description The BKG variable contains the following numeric status codes:
 
0 Zero. Current program is directly connected to a terminal user
(background/ghost process).
 
1 Current program is not directly connected to a terminal user
(background/ghost process).
 
Examples ->?BKG
0