DDL Data Translation
Data Definition Language (DDL) Reference Manual — 426798-002
C- 6
Table C-3. Sample DDL/FORTRAN Data Translation Table (page 1 of 2)
Clause Type
DDL Clause Specification
FORTRAN 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 8
CHARACTER*8
TYPE BINARY 8
CHARACTER*1
FILLER*1 (added by DDL)
TYPE BINARY [16]
INTEGER*2
TYPE BINARY [ 16]
UNSIGNED
INTEGER*2
TYPE BINARY 16,2
INTEGER*2
TYPE BINARY 32
INTEGER*4
TYPE BINARY 32 UNSIGNED
INTEGER*4
TYPE BINARY 64
INTEGER*8
*TYPE BIT
len
FILLER*2
TYPE FLOAT [32]
REAL
TYPE FLOAT 64
DOUBLE PRECISION
DDL TYPE clause
(continued)
TYPE COMPLEX
COMPLEX
TYPE LOGICAL [2]
LOGICAL