Q
Problem solve Get help with specific problems with your technologies, process and projects.

Forcing a read statement to start reading from the beginning

How can we explicitly force a read statement to start reading from the beginning?


Use a SETLL with a key value of *LOVAL, or load your key with binary 0's on a keyed file or chain with a record number of 1 for a non-keyed (arrival sequence) file.


Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close