Multiple choice technology mainframe

Which of the PICture clauses (data types) are correct?

  1. P, S9, X, A, 9

  2. P, R, X, A, 0

  3. Z, X, S, B, 9

  4. Z, 9, A, R, SP

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The correct PICTURE clause data types include: P (packed decimal), S9 (signed numeric), X (alphanumeric), A (alphabetic), and 9 (numeric). These are standard COBOL PICTURE clause symbols. Option B incorrectly includes R and 0 (not standard PIC symbols), Option C incorrectly includes Z, S, B as a group, and Option D incorrectly includes R and SP.