|
Serge wrote: >We currently used IBM built-in utility to convert from RPG/400 to RPG4. The >other tools are very nice but can create runtime errors. > >For example, if you ADD 1 to a 3,0 field with a value of 999, no error is >produced and the field will roll over to 000. If you change the same logic >with a purchased tool the code will convert to >Eval field = field + 1 since field = 999 before this will produce a runtime >error. IT WILL NOT ROLL OVER!!!! > >Also checked with the various vendors and they are aware of the problem but >do not have a fix or at least tell you that there maybe a problem. This is such a common question, that there really should be an ILE RPG FAQ. If you searched the RPG400-L archives, you'd find the following explanations: <http://archive.midrange.com/rpg400-l/200006/msg00519.html> <http://archive.midrange.com/rpg400-l/199909/msg00685.html> Cheers! Hans Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.