Multiple choice technology mainframe

02 A PIC 9(5)V99 VALUE 234.56. MOVE A TO B DISPLAY B If we want to display the content of A as "$ 234.56-", how should we declare the variable B?

  1. PIC $ZZZZ9.99-
  2. PIC $$$$9V99-
  3. PIC -$9(6).99
  4. PIC $9(6).99-
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The picture clause $ZZZZ9.99- uses Z editing symbols to suppress leading zeros with spaces, inserts a fixed $ sign at the left, displays the decimal point explicitly, and shows a trailing minus sign for negative numbers. This produces the exact format "$ 234.56-" when the value is negative.