Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual—522629-013
10-35
NO^ERROR Procedure
NO^ERROR Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Summary
NO^ERROR is called internally by sequential I/O (SIO) procedures. Error handling
and retries are implemented within the SIO procedure environment by the NO^ERROR
procedure.
If the file is opened by OPEN^FILE, then the NO^ERROR procedure can be called
directly for the file-system procedures.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
no-retry returned value
INT
indicates whether or not the I/O operation should be retried. Values of
no-retry
are:
0 operation should be retried.
<>0 operation should not be retried.
If
no-retry is not 0, one of the following is indicated:
•
state is not 0.
•
No error occurred; error is 0.
#include <cextdecs(NO_ERROR)>
short NO_ERROR ( short state
,short _near *file-fcb
,short _near *good-error-list
,short retryable );
no-retry := NO^ERROR ( state ! i
,file-fcb ! i
,good-error-list ! i
,retryable ); ! i