If you want to test your program, but do not want to actually change data in the file used for the test, you can tell the system not to write (inhibit) any changes to the file that the program attempts to make. For this operation, you can use the INHWRT parameter.
To inhibit any changes to the file, specify INHWRT(*YES) on the Override with Database File (OVRDBF) command.