Previous Topic: Internal Database Functions and PHY Access Paths

Next Topic: Internal Database Functions

*Relative record number Field

The *Relative record number field is a 9.0 numeric field with the internal name RRN. When a program uses a physical file, a relative record number (RRN) field is assigned to that file. The *Relative record number field can be a key to access a specific record in that file, regardless of the contents of each field in that record. A different RRN field is assigned to each physical file that a program uses.

In the CHGOBJ, CRTOBJ, and DLTOBJ internal database functions built over a PHY access path, the RRN is available in the DB1 context and can be manipulated to retrieve or update a specific record.