Error returns in loc_status

One of these flags is passed to the loc_open() function when HCL OneDB™ ESQL/C opens the file. HCL OneDB ESQL/C reads the data and writes it to the current location (which the loc_position field indicates) in the file. If HCL OneDB 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 HCL OneDB ESQL/C is unable to close a file, it sets loc_status to -462. HCL OneDB ESQL/C updates the SQLCODE variable with this same value.