Multiple choice technology mainframe

Can justified be used for all the data types?

  1. True

  2. False

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

The JUSTIFIED clause in COBOL can only be used with alphanumeric (PIC X) data items. It cannot be used with numeric (PIC 9) or edited-numeric data types. JUSTIFIED right-justifies data within a field, which only makes sense for text/character data, not numbers. The statement is false.