Read 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/400® language and the READ NEXT statement in the COBOL/400® language are examples of this operation.)