🎴 Flashcard Mode

COBOL and JCL Mainframe Programming

Card1 / 20
Mastered0
Review0
QuestionClick to flip

If a field is defined as Pic s9(6)v99 comp-3, it uses 5 bytes of storage

AnswerClick to flip back
A
True
💡 Explanation:

COMP-3 (packed decimal) format stores 2 decimal digits per byte plus a sign nibble. For PIC S9(6)V99: 6 integer digits + 2 fractional digits = 8 total digits, which requires 4 bytes for digits + 1 byte for the sign = 5 bytes total.

Change Mode