i want to know how to use dos command to output a file (Ofile) from another file (Ifile) by extracting specific records. The records to be extracted are those records where character position 10 to 12 (in Ifile) has a value of '123'
For example: Ifile have 3 records which are:
ABCDFG123RTE
DRSERF234TEF
ADASSD123RTZ
So now i want to extract the record which from postion 7- 9 hav value 123 into Ofile, so from this case, Ofile will output two records which are:ABCDFG123RTE and ADASSD123RTZ
For example: Ifile have 3 records which are:
ABCDFG123RTE
DRSERF234TEF
ADASSD123RTZ
So now i want to extract the record which from postion 7- 9 hav value 123 into Ofile, so from this case, Ofile will output two records which are:ABCDFG123RTE and ADASSD123RTZ
