JCL SORT Decimal to Non decimal

294 Views Asked by At

I want to convert a decimal value for e.g. 12.34 in input file to 1234 in output file. The field is defined as s9(11)v9(02) comp-3

1

There are 1 best solutions below

0
Roie On

Try this:

outrec fields=(1,13,pd,to=zd,length=25)