Data Definition Language (DDL) Reference Manual
Definition Attributes
Data Definition Language (DDL) Reference Manual—529431-004
6-51
TYPE
COMPLEX
represents an 8-byte binary complex number.
LOGICAL { 1 }
{ [ 2 ] }
{ 4 }
represents a logical data type.
The value of a logical data type is considered false if it is 0 and true if it is
nonzero.
ENUM
represents an enumeration data type.
SQL-data-type
is an SQL data type that DDL supports (see the SQL/MP Reference
Manual and SQL/MX Reference Manual).
BIT bit-length [ UNSIGNED ] [ ENUM enum-name ]
represents the bit maps of the item.
bit-length
is an integer from 1 through 15 that specifies the size of the bit fields.
UNSIGNED
declares an item of type BIT as a positive number.
Note. Use COMPLEX only for C and FORTRAN.
Note. Use LOGICAL only for Pascal (on D-series systems), C, FORTRAN, pTAL,
and TAL.
LOGICAL Type Length
1* 1 byte
2 (default) 2 bytes
44 bytes
* Use LOGICAL 1 only for Pascal (on D-series systems) and C.
Note. Use ENUM only for Pascal (on D-series systems), C, FORTRAN, pTAL,
and TAL.