How many bytes does a S9(7) COMP-3 field occupy
B
Correct answer
Explanation
COMP-3 (packed decimal) stores 2 decimal digits per byte. For S9(7): 7 digits occupy 4 bytes (3.5 bytes rounded up), plus 1 byte for the sign nibble, totaling 8 bytes. The formula is: (n/2) + 1 bytes where n is precision. Option A is for COMP, C is too small, D is the precision digit count.