Product Documentation

FairCom RTG COBOL Edition User's Guide

Previous Topic

Next Topic

<delcurrent>

When deleting a record, avoid re-reading if the record's primary key was not changed since the last read operation.

The <delcurrent> configuration option improves performance of COBOL applications that perform a large number of DELETE operations all preceded by a READ operation that placed a lock on the same record.

When <delcurrent> is enabled, FairCom RTG does not re-read the record during the execution of the DELETE operation to ensure that it is the current record. Instead, it deletes the current ISAM record immediately. The effect is that DELETE operations are faster.

Note: This option is effective only if:
1) The primary key of the file does not allow duplicates.
2) The record was locked during the read operation so it could not be replaced by another user between the read and delete operations.

Default: No.

TOCIndex