Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-75
DEVICEINFO2 Procedure
(Superseded by FILE_GETINFOBYNAME_
DEVICEINFO2 Procedure
(Superseded by FILE_GETINFOBYNAME_
Procedure or
FILE_GETINFOLISTBYNAME_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Summary
The DEVICEINFO2 procedure is used to obtain the device type and the physical
record length of a file, which can be open 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,
Note. This procedure is supported for compatibility with previous software and should not be
used for new development. DEVICEINFO2 cannot obtain information on devices that have a
device type greater than 63.
CALL DEVICEINFO2 ( file-name ! i
, [ devtype ] ! o
, [ physical-recordlen ] ! o
, [ diskprocess-version ] ! o
, [ error ] ! o
, [ options ] ! i
, [ tag-or-timeout ] ); ! i