× 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.



As Ed indicated, the FIXNBR() keyword on the compiler is not being specified
when you recompile the problem. Currently there doesn't seem to be a way to
know if the problem was compiled with FIXNBR(). SO the speculation (remember
we're not there at your shop) is that you compiled the program previously
using the FIXNBR(*INPUTPACKED *ZONED) options. This time, it was not
specified. (By "you" I mean whoever compiled it previously.)


-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Marvin Radding
Sent: Tuesday, June 21, 2005 7:04 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Problem with Data Decimal Error

And this data structure was being used all along.  But when I made a
small modification, then the program starts having decimal data errors!
I am confused!! This has happened several times over the past few years
and I want to understand why!

Marvin


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ed Murphy
Sent: Tuesday, June 21, 2005 12:23 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Problem with Data Decimal Error

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 thread ...

Replies:

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.