Error returns in loc_status
One of these flags is passed to the loc_open() function
when IBM®
Informix® ESQL/C opens
the file. Informix
ESQL/C reads
the data and writes it to the current location (which the loc_position field
indicates) in the file. If Informix
ESQL/C is unable to
read or write to a file, it sets the loc_status field of the
locator structure to -463
or -464
.
If Informix
ESQL/C is
unable to close a file, it sets loc_status to -462
. Informix
ESQL/C updates the SQLCODE
variable with this same value.