Replace values in a file
The value in a file can be replaced in JCL using FINDREP command as shown below: Sample Input : Mainframe worddWordd of MainframeMainframeWorddlyHellowordd Mainframe! FINDREP command can be used to find and replace the contents in the input record. //EXEC PGM=SORT //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SORTIN DD DSN=<input file>, // […]