Could any one give me a solution for the below .
I am trying to Eliminate records with specific value in its field 1 to 9 columns and store it in another file using JCL.
File formate of both input and output files are FB
Source File:
DSN=TEST.SRC.FILE1
LRECL=1200
RECFM=FB
i/p:
454450617|b10|Connecticut|...
111111111|A10|San joes|...
111111111|T89|columbus|...
908770617|S50|New york|...
111111111|A10|San joes|...
111111111|T89|columbus|...
908770617|S50|New york|...
Need to eliminate the records with 111111111 which is in the field 1 to 9 and store the o/p records to dataset TEST.TGT.FILE2
Expected o/p:
454450617|b10|Connecticut|...
908770617|S50|New york|...
908770617|S50|New york|...
Thanks,
JRS