|
Karen L Hodge/MIS/Genesys <KHodge@xxxxxxxxxxx> wrote:
> Also, Chain is used for a direct hit.
> Using it in conjunction with a Read is not positioning the
> file to the key. To position to a key, you must used a
> SETGT or SETLL.
I'm sorry, but this is simply incorrect. A successful chain does set the
current record pointer; an unsuccessful one does not. This is true of both
RPG/III and RPG/IV. My memory may be fallible when trying to go this far
back and I haven't checked, but ISTR that in RPG/II a chain did not
position the file for a subsequent sequential read.
--
Dave...
_________ ,___o
__________ _\ <;_ http://www.audax.uk.net
___________ (_)/ (_) http://www.twickenhamcc.co.uk
=======================================================
The opinions expressed in this communication are my own and do not
necessarily reflect those of my employer.
______________________________________________________________________
This message may contain confidential information which may also be legally
privileged and is intended only for the use of the parties to whom it is
addressed. If you are not an intended recipient you are hereby notified that
any disclosure, copying, distribution or use of any information in this e-mail
is strictly prohibited. If you receive this message in error please notify the
sender by return e-mail and then destroy it. Further, we make every endeavour
to keep our network free from viruses. However, you do need to verify that this
e-mail and any attachments are free of viruses as we can take no responsibility
for any computer viruses which might be transferred by way of this e-mail. All
information and attachments remain the property of Stolt Offshore Group and
should be held as confidential.
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.