Guardian Procedure Errors and Messages Manual
and the close message is sent. The receiving process cannot assume that the cancellation message
appears on $RECEIVE before the close message (or vice versa).
The absence of a cancellation message does not mean that the sending process received a reply.
A cancellation can occur at any time, including just before a reply or while the reply data is
awaiting delivery; in these cases, the cancellation message does not appear.
Do not use the cancellation notice to determine the delivery status of replies.
Format Message -38 can be received only if SETMODE 80 param.<13> has been set to 1:
sysmsg[0] = -38
sysmsg[1] = The message-tag of the canceled message
Response Call REPLY for the referenced message.
-40 DEVICE TYPE INQUIRY
Cause (C-series-format system message only) Another process called DEVICEINFO, DEVICEINFO2,
or FILEINFO to request the device type or the physical record length from the receiving process.
This message is sent only to subtype 30 processes. Do not attempt to use subtype 30 processes to
emulate disk devices (device type 3). Calls related to disk files (such as FILEINFO) return file-system
error 2 even if the process is emulating a disk file.
Format The layout of the received message described in terms of an array of words is:
sysmsg[0] = -40
sysmsg[1:4] = The first qualifier name in internal
format (blank padded)
sysmsg[5:8] = The second qualifier name in internal
format (blank padded)
If the calling process did not specify qualifiers to the process name, sysmsg[1:4] and
sysmsg[5:8]are blank.
Response The subtype 30 process must call REPLY with the needed information in a buffer of the
following format:
replymsg[0] = -40
replymsg[1] = The device type word:
.<0:3> = 0
.<4:9> = device type
.<10:15> = device subtype
replymsg[2] = Physical record length
If the message response is incorrectly formatted, the DEVICEINFO[2] or FILEINFO caller receives
the default values (device type and subtype of zero) and the REPLY caller receives error code 2.
-41 NOWAIT DEVICEINFO2 COMPLETION
Cause The DEVICEINFO2 nowait option (options.<13>) was specified to obtain device
information. The device information is returned only in system message -41 on $RECEIVE.
Format The layout of the received message described in terms of an array of words is:
sysmsg[0] = -41
sysmsg[1:2] = Tag value from tag-or-timeout parameter
sysmsg[3] = File-system error code
sysmsg[4] = The devtype value
sysmsg[5] = The physical-recordlen value
sysmsg[6] = The diskprocess-version value
The device information returned in words 4 through 6 is valid only if the file-system error code
(word 3) is zero. Words 1 and 2 return the value passed to DEVICEINFO2 to help you identify
this particular completion when there are simultaneous inquiries.
260 System Messages