Previous Topic: DB-KEY and ACCEPTNext Topic: RETURN


CURRENT

The FIND/OBTAIN CURRENT function uses established currencies to retrieve records within the database. The following currencies can be specified:

FIND/OBTAIN CURRENT is frequently used to make a record the current of run unit so it can be modified.

The following figure illustrates repositioning in a database. To update a COVERAGE record after examining its latest claim record, we use the FIND CURRENT function to reposition on the COVERAGE record before issuing the update. We need to do this because, as we shall see later, a record to be updated must be current of run unit.