Multiple choice technology mainframe

Can JUSTIFIED be used for all data types?

  1. True

  2. False

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

JUSTIFIED in COBOL can only be used with alphabetic and alphanumeric elementary items, not with numeric or numeric-edited data types. The JUSTIFIED clause right-justifies data within its field, which is only meaningful for non-numeric data.