CDDLHELP.HLB  —  EDIT_CODE, Example
  In the following example, the edit code for the field  ORDNUM  is  3.
  Because  the  attribute's  value  is  3,  a  VAX  RPG II program will
  suppress zeroes when printing ORDNUM.

  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