Sign in

docs RPG Reference

CURSYM('sym')

CURSYM(‘sym’)

The CURSYM keyword specifies a character used as a currency symbol in editing. The symbol must be a single character enclosed in quotes. Any character in the RPG character set (see Symbolic Names and Reserved Words) may be used except:

  • 0 (zero)
  • * (asterisk)
  • , (comma)
  • & (ampersand)
  • . (period)
    • (minus sign)
  • C (letter C)
  • R (letter R)
  • Blank

If the keyword is not specified, $ (dollar sign) will be used as the currency symbol.