If you have ever had occasion to test a new version of a program over production data, you may have wished that IBM had supplied OS/400 with an Override Program (OVRPGM) command. This would be a command that would allow you to specify a program name that would be used "instead" when another program name is called. There is an easy, though perhaps not elegant, way around this problem. First, make a duplicate copy of your test program in QTEMP. Then place QTEMP ahead of your production library in your library list. You can now execute the new version of your program using the production files.
Note: Use this technique only for programs that do not update files. Programs that update files should be tested in a test library, complete with copies of the production files.
Jonathan M. Vote Medford, Oregan
LATEST COMMENTS
MC Press Online