|
My programs are never compiled to ignore decimal data errors. If the data is bad I want to know it. Marvin -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeffrey Young Sent: Tuesday, June 21, 2005 5:15 PM To: RPG programming on the AS400 / iSeries Subject: RE: Problem with Data Decimal Error IMHO, the program did not fail before due to being compiled with the keyword FIXNBR (?) *Zoned *INPUTPACKED. In other words, the programmer told the compiler, dont bother me about these things, just set them to zero. Not a good idea as you have found out. Ed Murphy <EMurphy@xxxxxxxxxxxxx> wrote: The sub-field of a ds is not validated until you actually try to use it. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Marvin Radding Sent: Tuesday, June 21, 2005 12:14 PM To: RPG programming on the AS400 / iSeries Subject: RE: Problem with Data Decimal Error Yes, there was a problem. It is usually a data structure that is not getting initialized properly after the one line modification. So I tack an INZ on the data structure and everything is cool. My question is why didn't this show up before? Marvin -----Original Message----- From: rpg400-l-bounces+mradding=dpi-west.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+mradding=dpi-west.com@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Tuesday, June 21, 2005 9:58 AM To: RPG programming on the AS400 / iSeries Subject: Re: Problem with Data Decimal Error Aside from why this happened when you did nothing to it, have you looked at the section of code? Is there a data decimal error problem? Another question: when you comment the new line you added, so everthing is just as before, and compile, does the data decimal error go away? I ask that because you may not be working with the same source as was used to compile the working program. I've had situations where a programmer couldn t fix a problem so he just left the broken source code for the next guy. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 06/21/05 11:50:18 To: RPG programming on the AS400 / iSeries Subject: Problem with Data Decimal Error I have a problem with Data Decimal Errors. I have a working program that normally runs with no problems. I add one line of code and now when it runs it encounters a data decimal error in a area of the program that I have never modified. This is really frustrating me. We are working in V5R1 with RPG/ILE. Thanks ahead of time for all of your help. Marvin -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. . -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.