Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-43
RECEIVEINFO Procedure
(Superseded by FILE_GETRECEIVEINFO_
•
Duplicate requests
The
sync-id parameter allows the server process (that is, the process reading
$RECEIVE) to detect duplicate requests from requester processes. Such
duplicate requests are caused by a backup requester process reexecuting the
latest request of a failed primary requester process.
•
Server process identifying separate opens by the same requester
The
filenum parameter allows the server process to identify separate opens by
the same requester process. The value returned in
filenum is the same as the
file number used by the requester to make this request.
Example
CALL RECEIVEINFO (PROCID , , , REQ^FNUM , REQ^READCOUNT);
Related Programming Manual
For programming information about the RECEIVEINFO file-system procedure, refer to
the
Guardian Programmer’s Guide.
Note. Neither a CANCELREQ or AWAITIO timeout completion have any affect on the sync ID
(that is, it will be an ever-increasing value).
Also, the sync ID is independent of the sync-depth parameter to OPEN.