DTRHELP.HLB  —  Commands Statements Clauses, SIGN Clause, Examples
       The following example defines the field CURRENT_BALANCE as a 6-
       digit signed field, with the sign sharing the leftmost character
       position:

       03 CURRENT_BALANCE
          PIC IS S9999V99
          EDIT_STRING IS $$$$9.99-
          SIGN IS LEADING.

       The following example defines the field NEW_PRICE as a 4-digit
       signed field. The sign is a separate character in the rightmost
       character position:

       03 NEW_PRICE PIC S99V99
          SIGN TRAILING SEPARATE
          EDIT_STRING +++.99.
Close Help