INFO4MYSTREY

This blog is created for educational purposes. Info4mystery archive and support student, teacher, Educationalists, Scholars and other people for learning by facilitating reflection, questioning by self and others, collaboration and by providing contexts for engaging in higher-order thinking.

Full width home advertisement

Popular Posts

Post Page Advertisement [Top]

Updating Process

Both the master file and transaction file are read
(1) The keys are then compared.
(2) If the master file key is less than the transaction file key, no change is required. The record is copied to the new master file.
(3) If the master file key is equal to Transaction file key, then the record is to be either deleted or modified.
(4) If the master file key is greater than transaction file key, then it means that the transaction file record is new and is therefore to be copied to the new master file.
(5) Three generations of files are maintained always. Hence the name Grandfather-father-son update.

No comments:

Post a Comment

Labels

Bottom Ad [Post Page]

| Designed by Colorlib