Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-149
FILEERROR Procedure
FILEERROR Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Summary
The FILEERROR procedure is used to determine whether an I/O operation that
completed with an error should be retried.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
indicates whether an I/O operation should be retried, as follows:
0 Operation should not be retried.
1 Operation should be retried.
filenum input
INT:value
is the number of an open file that identifies the file having the error.
Considerations
The FILEERROR procedure is called after a CCL return from a file-system procedure.
The FILEERROR procedure determines if an operation should or should not be retried.
If the error is caused by one of the following:
A normal access request to a terminal currently in BREAK mode
#include <cextdecs(FILEERROR)>
short FILEERROR ( short filenum );
status := FILEERROR ( filenum ); ! i