Select records using the Open Query File (OPNQRYF) command

These topics provide examples of selecting records using the Open Query File (OPNQRYF) command.

In all these examples, it is assumed that a single-format database file (physical or logical) is being processed. (The FILE parameter on the OPNQRYF command allows you to specify a record format name if the file is a multiple format logical file.)

Related concepts
Control language (CL)