OPNQRYF is a CL command that allows you to perform many data processing functions on database files. It acts as filters between processing programs and database records. It creates only temporary file for processing data. Dynamic record selection, Dynamic keyed sequence access path, Dynamic join, improving performance, Sort sequence processing are some of its functions.