Fixed Insertion Editing


  • Fixed insertion editing inserts fixed characters into a numeric edited item.
  • The fixed characters are - minus (-), plus (+), credit (CR), Debit (DB), and dollar ($).
  • The fixed characters are placed in predefined positions declared within a numeric item.

Notes -

  • It is applicable only for numeric items.
  • These symbols are counted as the length of the item.

Symbols -

Fixed insertion editing symbols are -

  • + : Plus sign is used to highlight the sign of the value. Displays a minus if the value is negative. Displays a plus sign if the value is positive. It should be the first or last character in the PICTURE string.
  • - : Minus sign to highlight negative values only. Displays a minus sign if the value is negative. Displays space if the value is positive. It should be the first or last character in the PICTURE string.
  • $ : Inserts dollar sign. It should be the leftmost character.
  • CR : Displays "CR" if the entire number is negative; otherwise, it displays spaces. It should be defined as the rightmost two-character position.
  • DB : Displays "DB" if the entire number is negative; otherwise, it displays spaces. It should be defined as the rightmost two-character position.

Examples -


Editing PICTURE InputOutput
S9(5)-247 0024P
-9(5)-247-00247
+9(5)-247-00247
9(5)--24700247-
9(5)+-24700247-
-9(5)+1047B01047
9(5)CR+104701047BB
9(5)CR+104701147CR
9(5)DB-114701047BB
9(5)DB-114701147DB
$9(5)1547$01547
$ZZZZZZEROESBBBBBB
$ZZZZ9ZEROES$BBBB9
Note! B represents space in the above table.