× 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 3/18/2011 1:46 PM, Charles Wilt wrote:
...
However, doesn't the DDS binary type (when decimal position = 0 )
support the full range of values that RPGLE integer would? Unlike
RPG's binary type?

Thus I've always considered DDS binary fields to be integers.

Am I lying to myself? Is there something DDS binary fields don't have
that true integer fields would?


You're right. It can store the full binary range. You can even do that with RPG if you code EXTBININT(*YES) in the H spec.

It's not so much "DDS" that controls the field as the various consumers of the field. Even if it's defined as say B(7,0) and maybe even B(7,2), there are are probably some things (like other programming languages?, SQL?) that would let you use the full binary range even if it's way outside the defined range.



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.