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


  • Subject: RE: data decimal error
  • From: Frank Kolmann <FKolmann@xxxxxxxxxxxx>
  • Date: 20 Oct 00 14:23:00 EST

I think that a decimal data error only happens
when the program tries to do a actual move to
a numeric field. If that is the case then you
can scan the large field for valid characters
ABC... abc... 01234... etc. and fix before 
the move.
If the program crashes on open then you could 
write a small program with (IGNDECERR(*yes))
call it before the crashing program and 
pass it the large field and then do a scan.
You could even strip out the packed numerics.
I am not sure exactly when you get the error
so I cannot be more specific, but I am sure
IGNDECERR can give you the oppotunity to
gracefully recover. hmmm what about *PSSR

Frank Kolmann 

> 
> I'd thought about this.  Since many different programs
> use this file the field has many different uses and 
> it isn't possible to predict the location of the decimal
> fields.  That is why i was looking for a way to 
> gracefully recover from the error condition.  
> It is a rare occurrence, and happens only when a 
> programmer adds a numeric field to an existing data 
> structure.
> _______________________
> Booth Martin
> Booth@MartinVT.com
> http://www.MartinVT.com
> _______________________


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://home.netscape.com/webmail
+---
| 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 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.