Create a query with the Open Query File (OPNQRYF) command

To create a query, you can use the Open Query File (OPNQRYF) command. Alternatively, you can create a query using the Run SQL Scripts window in iSeries™ Navigator.

Related concepts
Query your database using the Run SQL Scripts interface
Related reference
Open Query File (OPNQRYF) command