Hi All,
I have tried using the below control card to replace a character astrisk (*) with sapce and then shift the record to left.
Input file:-
//*abcd 123 xyz
control card:-
//SYSIN DD *
OPTION COPY
OUTREC IFTHEN=(WHEN=(83,4,CH,EQ,C'ABCD'),
BUILD(1,80,SQZ=(SHIFT=LEFT,PREBLANK=C'*'))),
IFTHEN=(WHEN=NONE,
BUILD=(1,80))
/*
Output file:-
//abcd123xyz
Expected output:-
//abcd 123 xyz
Note:- i only want the the asterisk to be removed and then whole record should shift left, the in between spaces should remain as it is.
Can anyone help me with this.
Thanks.