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



Scott,

> Please don't use the "B" data type when calling an API.  Ever.
> The I and U data types were created because the B data type doesn't
> perform well and doesn't support the full range of numbers that could be
> represented in binary.

This always makes me wonder why creating a file with the integer data type
results in 9B 0.  Maybe you know? :)

Example:

create table qtemp/phil (col1 integer)

result in :

                             Display File Field Description
 Input parameters
   File  . . . . . . . . . . . . . . . . . . . :  PHIL
     Library . . . . . . . . . . . . . . . . . :  QTEMP
 File Information
   File  . . . . . . . . . . . . . . . . . . . :  PHIL
     Library . . . . . . . . . . . . . . . . . :  QTEMP
   File location . . . . . . . . . . . . . . . :  *LCL
   Externally described  . . . . . . . . . . . :  Yes
   Number of record formats  . . . . . . . . . :      1
   Type of file  . . . . . . . . . . . . . . . :  Physical
   SQL file type . . . . . . . . . . . . . . . :  TABLE
   File creation date  . . . . . . . . . . . . :  03/05/02
 Record Format Information
   Record format . . . . . . . . . . . . . . . :  PHIL
   Format level identifier . . . . . . . . . . :  2B3B69E64E518
   Number of fields  . . . . . . . . . . . . . :      1
   Record length . . . . . . . . . . . . . . . :      4
 Field Level Information
               Data        Field  Buffer    Buffer        Field    Column
    Field      Type       Length  Length  Position        Usage    Heading
    COL1       BINARY       9  0       4         1        Both     COL1
      Allows the null value



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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.