Hi,
I'm trying to add a SUFFIX to a particular field. PARTNER NAME is the field starts at 75 position with a length of 35 characters. I wanted to add a SUFFIX at the end of PARTNER name. Though the LENGTH of the field is 35, am not sure about the LENGTH of the value it is going to be at this particular position.
Example Input :-
ACOSTA
KENDERLFLOREL
PEPSICO
Expected Output :-
ACOSTA(5010)
KENDERLFLOREL(5010)
PEPSICO(5010)
Here is what i have used initially, but then i have realized that i need it to be added as a SUFFIX, but not a PREFIX.
//SYSIN DD *
SORT FIELDS=COPY
IFTHEN=(WHEN=(44,2,CH,EQ,C'NA'),
OVERLAY=(81:75,35,75:C'(5010)',374:&DATENS=(MDY),
380:&TIMENS=(24),386:C'00VUP'))
/*
Please suggest.