On Fri, 3 Apr 2009 17:09:37 +0100, Jim McAlpine <[email protected]> wrote:

>We have a large application with thousands of COBOL programs many of which
>have edit masks UK/USA style ie with comma separators and decimal
>points like so - 999,999,999.99.  We need to alter the picture clauses so
>they cause the numeric edited items to appear in European format ie with the
>"," and "." transposed like so - 999.999.999,99.  Is there any way to
>accomplish this automagically in COBOL.  We are trying not to have to find
>and edit every edit mask in every program which would be a very large and
>onerous undertaking.
>
>Any ideas very much welcomed.
>
>Jim McAlpine


http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR31/4.1.8

<quote>
 DECIMAL-POINT
    IS COMMA Exchanges the functions of the period and the comma in PICTURE
character-strings and in numeric literals. 
</quote>

...
CONFIGURATION SECTION.
DECIMAL-POINT IS COMMA.
...

-- 
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to