|
Hi Karl -
When debugging the program, and there is only one record in the file, I can see that the UPDAT PYFRMNCR is executed twice. The *IN98 is not set on until the third READE. I am unsure what my problem is. Is it my understanding of the READE and DOWEQ or maybe multiple members file? Also, when there were four input records the update was eight. Any suggestion is appreciated.
I suspect that you are updating one or more key fields, causing the record to appear in the access path beyond the point at which you are reading, thereby causing the record to be read a second time. Ken Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
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.