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



Hans,
        How about making the database and RPG support integer data types
correctly?  If I create a table with a SMALLINT it is shown as being defined
as being 4 digits long.  I can insert a 5 digit long number via SQL but RPG
does not support this length of data.


>Well, I still say it's "half a dozen of one, six of the other".
>Arguably, someone else may be more comfortable with a declaration
>like 5I0 knowing that the variable can hold a 5 digit number.  After
>all, it's often hard to relate byte size to maximum size of integer
>number.  Basically, number of digits was chosen for integer and
>unsigned numeric for the same reason that packed decimal numeric is
>expressed in number of digits, and not number of bytes.


Thank you,
Matt Tyler
Mattt@wincofoods.com

-----Original Message-----
From: Hans Boldt [mailto:boldt@ca.ibm.com]
Sent: Thursday, September 05, 2002 06:50
To: rpg400-l@midrange.com
Subject: Re: Int Size




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.