×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
The ILE RPG Reference has this to say about a CHAIN that does not complete -
"When the CHAIN operation is not completed successfully (for example, an
error occurs or no record is found), the file specified in name must be
repositioned (for example, by a CHAIN or SETLL operation) before a
subsequent read operation can be done on that file."
Now I've seen that when record-not-found happens, that I can do a READ
without repositioning, no problem. Here's the scenario -
The 2nd READ returns the record that follows the one returned by the
first READ - so the READ continues from where things were before the
failed CHAIN.
That seems NOT to be how the documentation says it should work - I did
not have to do another successful CHAIN or SETLL - "successful" is my
word added as my assumption.
Confirm or deny, anyone?
Cheers
Vern
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.