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



People still get these kind of decimal data errors.

Now, what that article doesn't mention is that some of the newer data
types are hard enforced, even with DDS. For example, dates. I mean
"real" dates, times and timestamps. Not numeric or character
representations of dates. You cannot use CPYF to force bad data into
those.

There's a legitimate business reason for this. You may have an ERP
package. You may be reluctant to modify the properties of any of their
fields or add a column to any of their tables. However they have this
numeric column called something like Zimbabwe Currency Conversion or some
such thing. And you don't do business with Zimbabwe. And you 'really'
need to store a character field in their tables so you use a data
structure in RPG to overlay this column with your character field. You
cannot do this with the newer column types like dates. And you cannot do
this with a table defined with DDL like you can with a table defined with
DDS.




Rob Berendt

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.