TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

106 Chapter4
Using the Database
Reading the Data
Figure 4-2. Reading Access Methods (DBGET Procedure)
Directed Access
The directed access method of selecting the data entry to be read requires that you specify
the record number of that entry. Record numbers are returned in status halfwords 3-4 by a
successful call to the TurboIMAGE/XL intrinsic DBPUT (refer to the discussion of DBPUT in
chapter 5). Other numbers that can be used for directed reads are the forward and
backward pointers returned in status halfwords 7-8 and 9-10. To use these numbers for
directed reads, you need to save them because subsequent TurboIMAGE/XL procedure
calls can overwrite the status area.