Monday, July 7, 2008

INHWRT (Inhibit Write) during OVRDBF:

INHWRT (inhibit write) parameter in the OVRDBF is extremely useful when testing a program without wanting to update any data. This OVRDBF command helps to create a program that updates files without really updating.
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.

The “Inhibit Write” parameter allows you to test a program without storing the processed records in the database.

No comments: