Hi,
I have a Variable length input file as mentioned below.
ABC*****
XYZAB************
123456**
I want to remove the padded * from the variable length records, so that the output would be
ABC
XYZAB
123456
I tried the below card but it gives error -
SORT FIELDS=COPY
OUTFIL VTRIM=C'*',OUTREC=(1:1,4,5:5)