Use the OVRDBF command to create a program that updates files without really updating.
I have found the INHWRT (inhibit write) parameter in the OVRDBF extremely useful when testing a program without wanting to update any data. When set to *YES, the processed records are prevented from being written to the database, however the records WILL be written to any output device specified. This is perfect when you need a list of those records that will be modified before the database is actually changed. Once the list is verified, you can rerun the program without program changes or recompiling.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
This was first published in March 2003