Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

Unexpected 9D, 160 error during READ NEXT/PREV and REWRITE/DELETE operations

The following sequence of operations causes an error 9D, 160 (in IsCobol):

START - DELETE - READ NEXT

The START operation finds the record position of a given key but when the READ NEXT attempts to read the record, an error is returned because the record was deleted in the meantime.

Internally (in the driver), the error is expected in this situation but the COBOL user does not expect to see any error. There are other scenarios when the c-tree error 160 (ITIM_ERR) could legitimately occur but are not symptoms of an index problem or of multi-user interference caused by the application and, therefore, should be handled by the driver. The driver has been enhanced to handle and solve the error situation.

TOCIndex