IBM0831S
ONCODE=oncode-value A position was not established for a sequential READ statement.

Explanation

A READ statement without the KEY option was attempted on a VSAM data set. This occurred after sequential positioning was lost as the result of a previous error during sequential processing (for example, read error on index set or failure to position to next highest key after a "key not found" condition). The ONCODE associated with this message is 1026.

System action

The ERROR condition is raised.

Programmer response

Use the KEYTO option of the READ statement to obtain the keys of records read. Use this information to reposition a file for subsequent retrieval when positioning is lost.

Symbolic Feedback Code

IBM0PV