|
Answer» how to use dos command to output a file (Ofile) from another file (Ifile) by reading position 10 to 12 in Ifile where it has value of 'XXX'Is your XXX is a word?hi,
I make my question more clearly.
Actually 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
Thanks a lot..
|