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 - 1875 days ago
Last viewed on: 12 Dec 2018 (3561 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