|
well, didn't the update on the next record after the target group open up a whole fresh new group to loop through? and so on, to eof? _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ "Bale, Dan" <DBale@lear.com> Sent by: owner-rpg400-l@midrange.com 06/16/2000 01:15 PM Please respond to RPG400-L To: "'RPG400-L@midrange.com'" <RPG400-L@midrange.com> cc: Subject: RE: Second time updation of record within the same loop. >Still doesn't explain the "endless loop" though.< Right, there's something else going on here. I took the original poster's questions as two separate issues, the pseudocode refers to the endless loop, and the real code sample refers to the problem that is solved by adding the IF test, as we suggested. On the endless loop, I already suggested that it might be related to testing the wrong things in the DOU or that the right things are being tested, but variables are being changed in ways that the programmer didn't account for. - Dan Bale +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.