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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.