How many bytes does a S9(7) COMP-3 field occupy ?
-
7 bytes
-
6 bytes
-
5 bytes
-
4 bytes
D
Correct answer
Explanation
COMP-3 (packed decimal) stores 2 decimal digits per byte, with the last nibble (4 bits) holding the sign. For S9(7) with 7 digits, the calculation is (7+1)/2 = 4 bytes total. Options A-C incorrectly count bytes without accounting for the packed format or sign nibble.