FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-56
RECEIVE Compiler Directive
time. Your process cannot receive additional messages until you reply to at
least one of the messages already received. The default value is 1.
SYNCDEPTH sync
sync is an integer in the range 1 through 255 that specifies the maximum
number of replies this process saves for each opener. The default value is 1.
SYSMSG
specifies that FORTRAN return system messages received from $RECEIVE to
your program. You cannot queue system messages. If a system message
requires a reply—for example, an OPEN system message—the next write to
$RECEIVE must be a reply to the system message.
Considerations
If you specify a RECEIVE directive more than once, FORTRAN uses the last value
specified.
If open processes have your process open, FORTRAN returns error 12, “file in
use,” to processes that attempt to open your process.
The record length of the unit receiving system messages through $RECEIVE must
be at least 34 characters.
If you omit the SYSMSG option, the FORTRAN facility handles system messages.
Table 10-2 lists the C-series and D-series system messages that your process
might receive if you specify SYSMSG.
Table 10-2. System Messages (page 1 of 2)
C-Series D-Series
Msg No. Message Text Msg No. Message Text
-2 CPU down (MONITORCPUS) -2 CPU down (MONITORCPUS)
-2 CPU down: named process
deletion
-101 Process deletion: CPU down
-3 CPU up -3 CPU up
-8 Change in status of network node -100 Remote CPU down
-8 Change in status of network node -110 Loss of communication with
node
-8 Change in status of network node -111 Establishment of communication
with node
-8 Change in status of network node -113 Remote CPU up
-10 SETTIME -10 SETTIME
-11 Power ON -11 Power ON