Guardian Application Conversion Guide
Allowing a High-PIN Creator
Converting TAL Applications
3–44 096047 Tandem Computers Incorporated
Getting Information About the Process Open Message in the Startup Sequence
The RECEIVEINFO and LASTRECEIVE procedures obtain information about the last
message read from $RECEIVE. Your existing program might call one of these
procedures after reading the process-open message to obtain the identity of the
process that sent the message, that is, the process creator:
CALL RECEIVEINFO (process^id,
message^tag,
sync^id,
file^number,
read^count,
io^type);
Convert the RECEIVEINFO or LASTRECEIVE call into a call to the
FILE_GETRECEIVEINFO_ procedure:
! Return information about the last message.
error := FILE_GETRECEIVEINFO_(message^info);
creators^process^handle ':=' message^info[6] FOR
ZSYS^VAL^PHANDLE^WLEN;
FILE_GETRECEIVEINFO_ returns information in the 17-word
message^info
parameter. The process handle of the creator is in words 6 through 15.
See Table 3-1, later in this section, for a summary of all the information returned in the
message^info
parameter.