Previous Topic: CurrencyNext Topic: CALC


Retrieval Functions

Data retrieval is performed by the following navigational DML functions:

The following figure illustrates how information on John Done's health coverage at Commonweather is made available to the user program using a combination of OBTAIN, FIND, and GET functions. The following steps are taken:

  1. John Done's health coverage record is located and separately transferred to the variable storage area to which the COVERAGE record type is bound.
  2. The next record in this occurrence of the COVERAGE-CLAIMS set is located and transferred in a single operation.
  3. Step 2 is repeated until all the claim records are processed.

Locating a record through either the FIND or OBTAIN function uses a technique identified by one of the following options: