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



On 1/17/2018 11:05 AM, Jay Vaughn wrote:

However, the data currently exists in our PF's and our applications which
are 99% rpg pgms do not blow up.

Why is this?

Here, I see the following reasons:

1) Program described I / O-specs.
2) Programs compiled with IGNDECERR / FIXDECERR.
3) Not using the 'bad' column.

With RLA, if a column is RNF7031 - Unreferenced, it won't throw a
decimal data error if you CHAIN to the record. The field is, well, not
referenced by the program, and therefore the compiler doesn't try to map
the database file buffer into the (unreferenced) RPG fields. No buffer
transfer, no validation error.

With SELECT *, that same column in the same file with throw a decimal
data error. I think the database manager validates it before RPG gets
to it. This is probably over simplified, but it's a mental model that
works well enough for me to understand when I get decimal data errors
and when I do not.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.