Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-76
DEVICEINFO2 Procedure
(Superseded by FILE_GETINFOBYNAME_
the remaining 16 characters still must be in a valid file name format. If a logical
device number is specified, the last 16 characters must be blanks.
devtype output
INT:ref:1
returns the device type of the associated file in this form:
<0> Demountable
<1> Audited disk, or file name specified was a subdevice
<2:3> Undefined
<4:9> Device type
<10:15> Device subtype
If the device type is greater than 63, bits <4:9> are set to 44. To obtain information
on devices with a device type greater than 63, call either the
FILE_GETINFOBYNAME_ or FILE_GETINFOLISTBYNAME_ procedure. Refer to
Appendix A, Device Types and Subtypes
for a list of the device types.
physical-recordlen output
INT:ref:1
returns the physical record length associated with the file:
nondisk devices
physical-recordlen is the configured record length.
disk files
physical-recordlen is the maximum possible transfer length. Transfer
length is equal to the configured buffer size for the device (either 2048 or 4096
bytes). (For an Enscribe disk file, the logical record length can be obtained
through the FILE_GETINFO[BYNAME]
_ , FILE_GETINFOLIST[BYNAME]_ , or
FILERECINFO procedure.)
processes and $RECEIVE file
a length of 132 is returned in
physical-recordlen. This is the system
convention for interprocess files.
diskprocess-version output
INT:ref:1
returns the disk process version for disk devices.
(devtype.<4:9> = 3):
diskprocess-version 1 DP2 disk process.
error output
INT:ref:1
is a file-system error number indicating the success of the call or the reason for its
failure.