Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-73
DEVICEINFO Procedure
(Superseded by FILE_GETINFOBYNAME_
DEVICEINFO Procedure
(Superseded by FILE_GETINFOBYNAME_
Procedure or
FILE_GETINFOLISTBYNAME_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The DEVICEINFO procedure is used to obtain the device type and the physical record
length of a file. The file can be opened or closed.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
Parameters
file-name input
INT:ref:12
is an array containing the name of the device whose characteristics are to be
returned. Any form of 12-word internal-format file name is permitted. For disk
files, only the first eight characters (that is, the volume name) are significant;
however, 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.
Note. This procedure is supported for compatibility with previous software and should not be
used for new development. DEVICEINFO cannot obtain information on devices that have a
device type greater than 63.
CALL DEVICEINFO ( file-name ! i
,devtype ! o
,physical-recordlen ); ! o