DDL Data Translation
Data Definition Language (DDL) Reference Manual — 426798-002
C- 3
TYPE COMPLEX
double
(inaccurate
representation)
TYPE LOGICAL 1
char
TYPE LOGICAL[2]
short
TYPE LOGICAL 4
long
TYPE ENUM
enum
TYPE CHARACTER 8
OCCURS 100 TIMES
char[100][8]
TYPE BINARY 16
OCCURS 3 TIMES
short[3]
TYPE SQL VARCHAR 10
typedef struct
{
short LEN
char VAL[10]
}
** TYPE SQL DATETIME
DAY TO MINUTE
char[8]
TYPE SQL DATE
char[10]
TYPE SQL TIME
char[8]
TYPE SQL TIMESTAMP
char[26]
TYPE SQL INTERVAL MONTH 6
char[7]
* Field definition does not have bit length generated
** Only one of the possible forms of the clause; see
DICTOBL Fields
on page D-12, for the byte lengths
of all forms of the clause.
Table C-1. Sample DDL/C Data Translation Table (page 2 of 2)
Clause Type
DDL Clause Specification
C Data Type