6100 ADCCP Programming Manual

Application Tasks
Writing Applications that Use ADCCP
069225 Tandem Computers Incorporated 4–7
FILEINFO Procedure
A call to the FILEINFO procedure obtains information concerning the last error for an
open line. The line must be open if you refer to the line by its file number.
CALL FILEINFO ( [
filenum
] !i
, [
error
] ) !o
filenum
input
INT:value
is the number returned by the OPEN call that opened the line. As an alternative,
you can supply the value -1 to request the error code associated with the most
recent line open failure.
error
output
INT:ref:1
returns the error number associated with the most recently completed operation
on the specified line. The error codes are summarized in Appendix A of this
manual.