|
>From: "DeLong, Eric" <EDeLong@Sallybeauty.com> >Date: Wed, 6 Mar 2002 09:19:49 -0600 > >1) Numeric truncation - Like it or not, some programmers have come to depend >on the old truncation rules. Those date conversion algorithms (MULT >10000.0001) and the like would not function correctly without the old rules, >and RPGIV issues an error (by default) when it happens. For maximum >compatibility, use control spec TRUNCNBR(*YES) to restore the old rules for >the initial conversion. Note that this will NOT affect truncation rules for >expressions. Eric, the default is TRUNCNBR(*YES). By default, RPG IV programs behave exactly like RPG III programs with respect to numeric truncation. Maybe someone on your system has changed the command defaults to TRUNCNBR(*NO). Barbara Morris
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.