There are times when you may wish to run a program that writes records to a file, but for test purposes, you wish to prevent this from happening. You could recompile your test program, commenting out the write or update operations, and changing the file specs so the compiler doesn't give you an error message. However, a much better and easier approach is to use the INHWRT(*YES) parameter on the OVRDBF command. You should execute this command for each file you wish to inhibit at the beginning of your jobstream. Be careful not to misspell the file name. You will not get an error message if you do, but the file will not be overridden. (To check that the override has occurred, use the DSPOVR command.) After the override command is executed successfully, the program will act just as before, but no data will be written.
Jon Vote Medford, Oregon
LATEST COMMENTS
MC Press Online