Multiple choice technology databases

CHAIN operation does the same function of which of the following combination?

  1. SETLL + READP

  2. SETGT + READP

  3. SETLL + READE

  4. SETGT + READE

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In RPG, the CHAIN operation combines the positioning and reading capabilities of SETLL (Set Lower Limit) to locate a record and READE (Read Equal Key) to retrieve it. Options using READP are wrong because they read prior records rather than matching keys.