Top
NetCOBOL V11.0 COBOL File Access RoutinesUser's Guide
FUJITSU Software

Chapter 5 Error Number and I-O Status

Errors encountered by the API functions are available from the cobfa_errno() and cobfa_stat() functions. In both cases, the value represents the error condition from the most recent API call.

Values returned by cobfa_stat () are comparable to the FILE-STATUS values available at runtime. Cobfa_errno() provides a more comprehensive range of error conditions, including errors caused by passing incorrect parameters to the API functions.