You did not say that is what you want, but then I didn't notice which
forum you wrote to, so mea culpa.
Anyhow, if your computer runs VM, you don't have to write assembler at
all (and if it runs MVS, make your requirement known to IBM).
The instruction you want is PACK, but you must remove all punctuation
first. To do that you must copy the contents of the input buffer to a
temporary buffer, omitting all punctuation, even the decimal point.
And then you must read the manual very carefully.
It boggles the mind why this question was asked at all in this context.
On 10/13/2016 04:56 PM, John McKown wrote:
That's not assembler code.