|
On Fri, 2005-01-07 at 15:58 -0800, Peter Dow wrote: > Hi Rich, > > I did try the original, untouched-and-compiled-on-another-machine program > and display file, and they worked fine, which narrowed it down to the > modifications. One of the analysts discovered that if she filled in one of > the newly added fields, it worked, which pinpointed the problem. Actually, > there were several, but the one causing the described behavior was a > CHECK(ME) on a conditioned field, which happened to be conditioned by an > indicator that was used for DSPATR(PC RI) on another field entirely. Arghh! > > The program (PHRE010) uses all 99 indicators, and the PHDE010D format alone > uses 65 of them. Lots of fun. I found another indicator that was only used > in one place on another format, and was based on a flag field so I could set > it just before the EXFMT and reuse for my purposes on PHDE010D. I wanted to rewrite that thing in 88 (!) but our team was not allowed to. After all, it was only six or seven years old at that time. > > Btw, SMS is actually slowly converting them all to RPGLE, so things aren't > all bad. That one needs it -- badly. Although it is amazing that it's going on twenty five years old and it still gets the job done. > > Thanks for the ideas! Glad to hear you got it working. My advice has always been: Never modify PHRE010. -- Regards, Rich Current Conditions in Des Moines, IA Overcast Temp 21.2F, Windchill 14.4F Winds out of the West at 5mph
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.