Reading next operation
This operation gets the next record on the keyed sequence access path.
If a record format name is specified, this operation gets the next record in the keyed sequence access path that matches the record format. The current position in the file is used to locate the next record. (The READ statement in the RPG language and the READ NEXT statement in the COBOL language are examples of this operation.)
Parent topic:
Reading database records using a keyed sequence access path