HI I have a Fixed width file. I search for some pattern in that file, if that matches with any one of the lines, then that record should be placed as the first record in the file.
Assume the file is Test.dat, the contents are,
If the search string is 333, then after the process The file Test.dat should contain (333's record as the first record),
The file will be a large file of 60MB.with 40 to 50'000 records.
Any suggestion will be of great help.
Thanks in advance.