|
Crispin,
I am not sure if it is just self-imposed or if I was told by someone
when I was a young programmer, but I never, never, never chain with a
partial key on a logical file. Strange things can happen and as we
see from this thread, it is confusing to the programmers that follow
behind you.
Maybe it comes down to programming "style."
In my book CHAIN is reserved for when I need to update a record in a
file, the CHAIN should use a complete key that satisfies all fields
in a unique logical file.
I use SETLL and READ/READE for everything else. (Sometimes the SETLL
is enough and you never even need to do the read, performance
bonus!)
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.