CDDLHELP.HLB  —  EDIT_WORD, Example
  In the following example, the EDIT_WORD attribute in the AMOUNT field
  specifies a monetary format:

  TRANSACTION STRUCTURE.
      ORDNUM         DATATYPE IS NUMERIC RIGHT OVERPUNCHED
                     SIZE IS 8 DIGITS
                     EDIT_CODE FOR RPG IS "3".
      AMOUNT         DATATYPE IS NUMERIC RIGHT OVERPUNCHED
                     SIZE IS 8 DIGITS 2 FRACTIONS
                     EDIT_WORD FOR RPG IS "$0  ,   .  CR".
  END TRANSACTION STRUCTURE.
Close Help