Guardian Procedure Calls Reference Manual
If the process ID is of the unnamed form and thus not in the DCT, the information returned
consists of:
creation-time-stamp[0:2]
Reserved.<0:3>[3]
Processor number where the process is executing.<4:7>
PIN assigned by operating system to identify the process in the processor.<8:15>
If the process ID is of the network form, the information returned consists of:
"\".<0:7>[0]
System number.<8:15>[0]
Process name[1:2]
Reserved.<0:3>[3]
Processor number in which the process is executing.<4:7>
PIN assigned by the operating system to identify the process in the processor.<8:15>
message-tag
output
INT:ref:1
is used when the application process performs message queuing. message-tag returns a
value that identifies the request message just read among other requests currently queued. To
associate a reply with a given request, message-tag is passed in a parameter to the REPLY
procedure.
The value of message-tag is an integer between 0 and receive-depth minus 1, inclusive,
that is not currently being used as a message tag. When a reply is made, its associated message
tag value is made available for use as a message tag for a subsequent request message.
Condition Code Settings
indicates that $RECEIVE is not open.< (CCL)
indicates that LASTRECEIVE was successful.= (CCE)
does not return from LASTRECEIVE.> (CCG)
Considerations
• The process ID that is returned by LASTRECEIVE
The process ID returned by LASTRECEIVE following receipt of a preceding open, close,
CONTROL, SETMODE, SETPARAM, RESETSYNC, or CONTROLBUF system message, or a
data message, identifies the process associated with the operation. The high-order three words
of the process ID will be 0 following the receipt of system messages other than the ones just
named.
• Synthetic process ID
If HIGHREQUESTERS is enabled for the calling process (either because the ?HIGHREQUESTERS
flag is set in the program file or because the caller used FILE_OPEN_ to open $RECEIVE) and
the last message was sent by a high-PIN process, then the returned process ID is as described
above except that the value of the PIN is 255. This form of the process ID is referred to as a
synthetic process ID. It is not a full identification of the process but it is normally sufficient
764 Guardian Procedure Calls (L)