I used following jcl for replacing the characters
//STEP1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=infile1,DISP=SHR
//SORTOUT DD DSN=outfile,
// DISP=(NEW,CATLG,DELETE),
// DCB=(LRECL=9,BLKSIZE=0,RECFM=FB),
// SPACE=(TRK,(3,3))
//SYSIN DD DSN=controlcard,DISP=SHR
and my control card
OPTION COPY
INREC FINDREP=(INOUT=(C'JOHN',C'JONY'))
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=infile1,DISP=SHR
//SORTOUT DD DSN=outfile,
// DISP=(NEW,CATLG,DELETE),
// DCB=(LRECL=9,BLKSIZE=0,RECFM=FB),
// SPACE=(TRK,(3,3))
//SYSIN DD DSN=controlcard,DISP=SHR
and my control card
OPTION COPY
INREC FINDREP=(INOUT=(C'JOHN',C'JONY'))
and it says cant find FINDREP keyword....so is there anyother keyword to replace ...please tell me
thanks