Data Transformation Engine Type Tree Importers Reference Guide
Chapter 2 - Using the Importer Wizard  COBOL Copybook Importer 
Type Tree Importers Reference Guide 
18 
The following table shows how many bytes are required for each mode: 
Digits (9s) 
Signed 
Digits (9s) 
Unsigned 
Bytes Assigned by Importer 
(Required for Word-Storage Mode) 
Bytes Required for 
Byte-Storage Mode 
1-2 1-2 2  1 
3-4  3-4  2  2 
5-6 5-7 4  3 
7-9  8-9  4  4 
10-11 10-12 8  5 
12-14  13-14  8  6 
15-16 15-16 8  7 
17-18  17-18  8  8 
Bytes Assigned for COMP-3 Data 
If your COBOL data is a PIC clause that is COMP-3, the number of bytes the 
COBOL Copybook Importer assigns to the item created in the type tree is shown in 
the following table: 
Number of Digits in PIC 
(With or Without a Sign) 
Number of Bytes 
Assigned to Item 
1 1 
2-3  2 
4-5 3 
6-7  4 
8-9 5 
10-11  6 
12-13 7 
14-15  8 
16-17 9 
18  10 










