I have data which have NULL characters ANY WHERE in the file and i need to change it into spaces using JCL sort or ICEMAN or ICETOOL .
Input: 417585555 COB2010WAP &@ WAP Ë -ekð15D CONTRACT MISSING IN THE DB
I have tried with the below code and it is not working.
//STEP10 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A.INPUT.FILE,DISP=SHR
//SORTOUT DD DSN=B.OUTPUT.FILE,
// DISP=(,CATLG,DELETE),
// UNIT=TESTDA,SPACE=(TRK,(10,10),RLSE)
//SYSIN DD *
OPTION COPY
INREC IFTHEN=(WHEN=INIT,BUILD=(1,250)),
IFTHEN=(WHEN=INIT,FINDREP=(IN=X'00',OUT=C' '))
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A.INPUT.FILE,DISP=SHR
//SORTOUT DD DSN=B.OUTPUT.FILE,
// DISP=(,CATLG,DELETE),
// UNIT=TESTDA,SPACE=(TRK,(10,10),RLSE)
//SYSIN DD *
OPTION COPY
INREC IFTHEN=(WHEN=INIT,BUILD=(1,250)),
IFTHEN=(WHEN=INIT,FINDREP=(IN=X'00',OUT=C' '))
Ramesh.