Midrange News for the IBM i Community


Posted by: John Dowling
setll, read and update
has no ratings.
Published: 22 Oct 2013
Revised: 24 Oct 2013 - 1756 days ago
Last viewed on: 13 Aug 2018 (3406 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

setll, read and update Published by: John Dowling on 22 Oct 2013 view comments(6)

I'm missing something.   I have a program the setll, reads, updates and then reads gain.  It looks like it's reading the updated record again.  This what I'm dong

Setll *loval file

Read File

dow not %eof (file)

some processing here

Update file

Read file

enddo   (end of file)

Like I said it is reading thefile just updated.  Do I have to reset myself back into the file after the update ? 

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS