|
As I recall, records written to a physical file by an RPG program are actually written in blocks. So the records written are not available to other programs until the block is filled with records. When the system is busy, I imagine, but cannot be certain, the block size becomes smaller because less memory and cache is available for the record blocks. That would explain why the records appear more quickly when the system is busy. That is, however, just a guess. We avoided this problem here by writing records to logical files instead of physical files. Perhaps changing the MAPICS program (if possible) to use a logical file would help. Donald R. Fisher, III Project Manager The Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@roomstoreeast.com <clip> When the system is not busy, records written in the Mapics RPG program are available in the logical view used in the RPGLE program. When busy, the view does not see the records. <clip>
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.