Let's say that you want to replace all occurrences of the word is with the word was in one of your files. Let's find out how to do this.
In this recipe, I will assume that a sequential file already exists. Please read Appendix A to learn how to create a sequential file.