Use the OVRDBF command to update files

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

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.