|
Uuuhhhh. That is it. My test program never do commit, which cause it to position the pointer to the bof after it hit rolbk, which cause my extra reade to not taking any effect. Thanks Rob. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx Sent: Friday, February 24, 2006 9:01 AM To: RPG programming on the AS400 / iSeries Subject: RE: rolbk causing reade to read the same record 1 - From the online help for RPGLE available in WDSC regarding ROLBK: Repositions the file to its position at the time of the previous COMMIT operation (or at the time of the file OPEN, if there has been no previous COMMIT operation.) So, unless you are doing a COMMIT or ROLBK after each record it could be going back several rows.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.