Typical errors when using the Open Query File (OPNQRYF) command

 

You must specify several functions correctly for the Open Query File (OPNQRYF) command and your program to get correct results.

The Display Job (DSPJOB) command is your most useful tool if problems occur. This command supports both the open files option and the file overrides option. You can look at both options if you are having problems. Listed here are the most common problems you might encounter when using the OPNQRYF command and the ways to correct them:

 

Parent topic:

Using Open Query File (OPNQRYF) command