The CURRENCY SIGN clause is used to define a currency string that will be:
In addition, the clause may also be used to specify the symbol that is to be used to represent a currency string within a PICTURE character-string. This symbol is referred to as the currency symbol.
CURRENCY SIGN Clause - Format
>>-CURRENCY--+------+--+----+--literal-6------------------------>
'-SIGN-' '-IS-'
>--+------------------------------------------+----------------><
| (1) |
'-+------+--PICTURE SYMBOL--literal-7------'
'-WITH-'
Notes:
+-------------------------------IBM Extension--------------------------------+
+----------------------------End of IBM Extension----------------------------+
When the CURRENCY SIGN clause is omitted, the dollar sign ($) must be used for both the value of the currency string and the currency symbol.
+-------------------------------IBM Extension--------------------------------+
+----------------------------End of IBM Extension----------------------------+
The currency symbol is case sensitive and must be specified throughout your program with the same case as used in the CURRENCY SIGN clause. However, unless the OPTION parameter value *NOMONOPIC, or the PROCESS statement option NOMONOPIC is specified, an alphabetic currency symbol used in a PICTURE character-string will be considered to be uppercase, regardless of its actual representation. Therefore an alphabetic currency symbol must always be entered as uppercase, unless the NOMONOPIC option is specified.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.