|
I have a logical file uniquely keyed on ITEM and WAREHOUSE.
I have found an (incorrect) program that does a CHAIN to this
logical using just ITEM. (The assumption may have been that it would
get the lowest WAREHOUSE which is where most stock is, but it is old
code and I can't ask anyone.)
I believe it sometimes gets a record that isn't the lowest WAREHOUSE
and ITEMS sometimes vanish from a report because there is no stock in
this warehouse.
Some eagle eyed person found items missing from a report from last
year. We restored the PF and the LF from a backup tape to another
library, reran the report, and the missing items correctly turned up.
I believe that there is no guarantee that if you do a CHAIN on ITEM
that you are guaranteed to get the record with the lowest value of
WAREHOUSE and that randomly we get another record.
Others are skeptical that I have found the cause, but it is a
complicated program stack and we haven't found any other reason.
Question 1: Am I on solid ground with my belief?
Question 2: Does any one know of any documentation on this subject?
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.