Guardian Procedure Calls Reference Manual
DEVICEINFO2 Procedure (Superseded by FILE_GETINFOBYNAME_
Procedure or FILE_GETINFOLISTBYNAME_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Summary
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.
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
CALL DEVICEINFO2 ( file-name ! i
, [ devtype ] ! o
, [ physical-recordlen ] ! o
, [ diskprocess-version ] ! o
, [ error ] ! o
, [ options ] ! i
, [ tag-or-timeout ] ); ! i
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.
devtype
output
INT:ref:1
returns the device type of the associated file in this form:
Demountable<0>
Audited disk, or file name specified was a subdevice<1>
Undefined<2:3>
DEVICEINFO2 Procedure (Superseded by FILE_GETINFOBYNAME_ Procedure or FILE_GETINFOLISTBYNAME_ Procedure) 315