Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-21
LASTRECEIVE
(Superseded by FILE_GETRECEIVEINFO_) Obtains the four-word process ID and the
message tag associated with the last message read from the $RECEIVE file.
LOCATESYSTEM
(Superseded by NODENAME_TO_NODENUMBER_) Provides the system number
corresponding to a system name and returns the logical device number of the line
handler controlling the path to a given system.
CALL LASTRECEIVE ( [ process-id ] ,[ message-tag ] );
process-id, INT:ref:4 output
message-tag, INT:ref:1 output
< (CCL) $RECEIVE is not open.
= (CCE) LASTRECEIVE was successful.
ldev := LOCATESYSTEM ( sysnum
,[ sysname ] );
ldev, INT returned value
>0 The logical device number of the line handler for the specified system on the local
system.
0 The system number does not exist.
-1 All paths to the specified system are down.
-2 SYSTEMNUMBER is passed to LOCATESYSTEM and no line handlers are
configured.
sysnum, INT:ref:1 input, output
sysname, INT:ref:4 input