When a record needs to be updated(rewrite) it has to be "read" first so that, an lock will be held on the record that needs to be updated & record mismatch/the anomalies could be avoided.
So, just read the record that need to be rewritten & then issue the rewrite statement.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!