DSPFFD does not know about SQL data types - only DDS data types - see
the post I just sent for something on B types.
The output file for DSPFFD has the WHFLDT field, and its values can be
Not an I in the place!
It's strange but true - I have created a B(9 0) in DDS and put 10 digit
number there in SQL - something like that, anyhow.
On 7/21/2014 3:16 PM, Luis Rodriguez wrote:
My mistake. I'm afraid that you are right....
Although V5R3's SQL Reference manual states that:
*Large integer *
A large integer is a binary number composed of 4 bytes with a precision of
10 digits. The range of large integers is −2147483648 to +2147483647.
If I create a table with:
CREATE TABLE @PRUEBAS/TEST_INT (LARGE_INTE INT NOT NULL WITH DEFAULT)
A quick DSPFFD shows the LARGE_INTE field as 9B 0. Could it be that the
sign occupies a digit's byte?
IBM Certified Systems Expert — eServer i5 iSeries