The first question I must ask is: what is the main language? the string to be converted is fixed or variable length? whether before or after the string? the currency above, following the string and, contiguous or separated? there is a need to vary parametrically decimal point or currency?
In case of cobol what is the arrival picture? For example: 01 output S9(017)V9(2) COMP-3. It will correct answers to the strings that follow? "^" character to indicate blanks. .. 1 2 3 4 5 6 7 8 9 0’ $1,234.56^^^^^^^^ x’0000000000000123456c’ 1,234.56^^^^^^^^ x’0000000000000123456c’ -1,234.56^^^^^^^^ x’0000000000000123456d’ 1,234,567.89^^^^ x’0000000000123456789c’ 1234567,89^^^^ x’0000000000123456789c’ -1234567,89^^^^ x’0000000000123456789d’ 123.4.567,89^^^^ error 123456789^^^^ x’0000000012345678900c 1,234,567.8934^^ x’0000000000123456789c’ ^^^^^^^^^^^1234.56 x’0000000000000123456c’ $^^^^^^^1234.56 x’0000000000000123456c’ -^^^^^^^1234.56 x’0000000000000123456d’ ^^^^^^^1234.56- x’0000000000000123456d’ Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute nel presente messaggio, corredato dei relativi allegati, sono strettamente riservate ed a uso esclusivo dei destinatari. Qualora Le fosse pervenuto per errore, La invitiamo ad eliminarlo immediatamente, dandocene gentilmente comunicazione. Grazie. ------------ *** ------------ *** ------------ *** ------------