Thursday 2 December 2010

Write the procedure of data insertion in middle of the files by Merge Method practiced in older systems?

· Opened the data file and a new empty file. 
· Started reading the data file from beginning of it.
· Kept on copying the read data into the new file until the location we want to
insert data into is reached. 
· Inserted (appended) new data in the new file.
· Skipped or jumped the data in the data file that is to be overwritten or
replaced. 
· Copied (appended) the remaining part of the file at the end of the new file

No comments:

Post a Comment