× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>This is a possibility for many programs converted to RPG IV,
>and it's not necessarily a "logic" error.

The IBM conversion does not change arithmetic operations to EVAL for just
this reason.  It is the third party converters that change the code, and
thus the logic.  EVAL is NOT the equivalent of ADD, that's clear enough!

>The manner in which RPG IV presents this error
>is unfriendly, and IMHO this issue is one of
>the biggest reasons people aren't moving to
>RPG IV and ILE RPG.

I frankly would have liked to have seen a different option on the error
message; "allow truncation."  Many old school programmers like myself easily
forget about the different rules when working with eval, especially
precision of intermediate results.  But I must say, having a hard error at
runtime has saved my bacon.  Rather than invisibly corrupt the database, at
least I get to hear about the problem before it's been propagated into next
quarter...  Yes, it's a pain to interrupt a long running job and have to
re-do it, but it's better than poisoning the database.

Just my two cents
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.