DDL Data Translation
Data Definition Language (DDL) Reference Manual — 426798-002
C -12
Table C-6. Sample DDL/TAL Data Translation Table (page 1 of 2)
Clause Type
DDL Clause
Specification
pTAL or TAL Data Type
DDL PICTURE clause
PIC A(10)
STRUCT
BEGIN STRING BYTE [1:10]; END;
PIC 9(10)
STRUCT
BEGIN STRING BYTE [1:10]; END;
PIC X(10)
STRUCT
BEGIN STRING BYTE [1:10]; END;
PIC N(10)
STRUCT
BEGIN STRING BYTE [1:20]; END;
PIC A(2)X(10)9(3)
STRUCT
BEGIN STRING BYTE [1:15]; END;
PIC SV9(3)
STRUCT
BEGIN STRING BYTE [1:4]; END;
PIC 9V9(2)S
STRUCT
BEGIN STRING BYTE [1:4]; END;
PIC T9V9
STRUCT
BEGIN STRING BYTE [1:3]; END;
PIC 9(2)T
STRUCT
BEGIN STRING BYTE [1:3]; END;
PIC 9(4) COMP
INT
PIC S9(4) COMP
INT
PIC 9(5) COMP
INT(32)
PIC S9(5) COMP
INT(32)
PIC S9(10) COMP
FIXED
PIC 9(4)V9(2)
OCCURS 52 TIMES
STRUCT [1:52];
BEGIN STRING BYTE [1:6]; END;
PIC 9
OCCURS 0 TO 10
TIMES DEPENDING ON
item
STRUCT (*)
STRING [1:10]
DDL TYPE clause
TYPE CHARACTER 8
STRUCT
BEGIN STRING BYTE [1:8]; END;
TYPE BINARY 8
STRING
FILLER 1; (added by DDL)
TYPE BINARY [16]
INT
TYPE BINARY [16]
UNSIGNED
INT
TYPE BINARY 16,2
INT