DDL Data Translation
Data Definition Language (DDL) Reference Manual — 426798-002
C- 8
Table C-4. Sample DDL/Pascal Data Translation Table (page 1 of 2)
Clause Type
DDL Clause Specification
Pascal Data Type
DDL PICTURE clause
PIC A(10)
CHARACTER*10
PIC 9(10)
CHARACTER*10
PIC X(10)
CHARACTER*10
PIC N(10)
CHARACTER*20
PIC A(2)X(10)9(3)
CHARACTER*15
PIC SV9(3)
CHARACTER*4
PIC 9V9(2)S
CHARACTER*4
PIC T9V9
CHARACTER*3
PIC 99T
CHARACTER*3
PIC 9(4) COMP
INTEGER*2
PIC S9(4) COMP
INTEGER*2
PIC 9(5) COMP
INTEGER*4
PIC S9(5) COMP
INTEGER*4
PIC S9(10) COMP
INTEGER*8
PIC 9(4)V9(2)
OCCURS 52 TIMES
CHARACTER*6 ( 1:52 )
PIC 9
OCCURS 0 TO 10 TIMES
DEPENDING ON
item
CHARACTER*1 ( 1:10 )
DDL TYPE clause
TYPE CHARACTER
len
FSTRING(
len
)
TYPE BINARY 8
BYTE
TYPE BINARY [16]
INT16
TYPE BINARY [16]
UNSIGNED
CARDINAL
TYPE BINARY 16,2
INT16
TYPE BINARY 32
INT32
TYPE BINARY 32 UNSIGNED
INT32
TYPE BINARY 64
INT64
TYPE BINARY 64,-16
INT64
TYPE BIT
len
INT(
len
)
TYPE BIT
len
UNSIGNED
UNSIGNED(
len
)
TYPE FLOAT [32]
REAL
DDL TYPE clause
(continued)
TYPE FLOAT 64
LONGREAL
TYPE COMPLEX
INT64