|
The definition of Chain is a Random Retrieval from a File.
If IBM tells me something is random, I take that to heart.
Because, how the database retrieval works today might not be how it works
under a different version of the operating system. There are too many
variables to try and decipher. (does your file reuse deleted records? If all
logical files are deleted and rebuilt, the sequence they are rebuilt in also
can have an effect)
As others have suggested, to eliminated all doubt, sounds like you should be
using SETLL and READE.
Documentation is the IBM RPG ILE Programmer Reference.
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzasd%2F
sc092508914.htm
Chain has been defined as random retrieval for as long as I can remember.
Charlie
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.