Dynamic record selection allows you to request a subset of the records in a file without using data description specifications (DDS).
For example, you can select records that have a specific value or range of values (for example, all customer numbers between 1000 and 1050). The Open Query File (OPNQRYF) command allows you to combine these and other selection functions to produce powerful record selection capabilities.