CRE Programmer's Guide
CRE Services
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
2-34
Using $RECEIVE
The flow chart in Figure 2-13 on page 2-34 shows how the CRE determines the name
of standard log.
Using $RECEIVE
In both the TNS and native environments, processes have access to a special file
called $RECEIVE. Your process receives messages sent to your process from other
processes (from the operating system, from your backup process, and so forth) by
reading $RECEIVE. Like standard files discussed earlier in this section, $RECEIVE is
a resource that is available equally to all routines in your process, not to any one
routine or language-specific run-time library.
In the Guardian environment, the CRE performs the tasks described in this subsection.
Processes running in the OSS environment do not receive startup, ASSIGN, or
Figure 2-13. Establishing the File Name of Standard Log
Start
ASSIGN
specifies
STDERR
ASSIGN
specifies home
terminal?
yes
yes
no
no
no
Use ASSIGN value
yes
PARAM
EXECUTION-LOG
present?
Use default
name if standard
log is opened
Do not open
standard log
Use name in
EXECUTION-LOG
PARAM
Run-time error
yes
yes
yes
no no
no
PARAM
EXECUTION-LOG
is valid file
name
?
PARAM
EXECUTION-LOG
is
*
?
PARAM
EXECUTION-LOG
present
?
.VSD214VST