CCA, CCB, CCC, CCD, and CCE Subcommands (SET command)

You can use the subcommands CCA, CCB, CCC, CCD, and CCE to specify up to five custom currency formats.

Specifying a Custom Currency Format

SET CCA='-,$,,'.

Specifying Multiple Custom Currency Formats

SET CCA='(,,,-)'  CCB=',,%,' CCC='(,$,,)' CCD='-/-.Dfl ..-'.
FORMATS VARA(CCA9.0)/ VARB(CCB6.1)/ VARC(CCC8.0)/ VARD(CCD14.2).
Table 1. Custom currency examples
  CCA CCB CCC CCD
negative prefix ( none ( –/–
prefix none none $ Dfl
suffix none % none none
negative suffix –) none )
separator , , , .
sample positive number 23,456 13.7% $352 Dfl 37.419,00
sample negative number (19,423–) 13.7% ($189) –/–Dfl 135,19–