COBOL Ch7

  1. PIC 9(6) VALUE 123456 TO PIC 9(8)
    PIC 9(4)V99 VALE1234.56 TO PIC 9(6)
    PIC 9(4)V99 VALUE 1234.56 TO PIC 9(4)
    PIC 9(4)V99 VALUE 1234.56 TO PIC $$$$$9.99
    • 00123456
    • 001234
    • 1234
    • b$1234.56
  2. PIC 9(4)V99 VALUE 1234.56 TO PIC $$$,$$9.99
    PIC 9(6) VALUE 123456 TO PIC $$$$,$$9.99
    PIC 9(6) VALUE 123456 TO PIC Z(8)
    PIC 9(4)V99 VALUE 1234.56 TO PIC $ZZZ,ZZZ.99
    • b$1,234.56
    • $123,456.00
    • bb123456
    • $bb1,234.56
  3. PIC S9(4)V99 VALUE 456.00 TO PIC $$$$$.99CR
    PIC S9(4)V99 VALUE 456.00 TO PIC $$,$$$.99DB
    PIC S9(4) VALUE 4567 TO PIC $$,$$$.00
    PIC S9(6) VALUE 122577 TO PIC 99B99B99
    • b$456.00bb
    • bb$456.00DB
    • $4,567.bb
Author
slc53
ID
329671
Card Set
COBOL Ch7
Description
COBOL Ch7
Updated