Query files and tools

Here are some considerations for open query files and interactive query tools.

Open query file (OPNQRYF) command considerations

The Open Query File (OPNQRYF) command, shown as follows, can retrieve or perform selection of Unicode data. Using the MAPFLD parameter, data can be mapped to or from Unicode.

OPNQRYF FILE(U_TABLE)
QRYSLT('NAME=MAPNAME')
MAPFLD((MAPNAME 'John Doe' *GRAPHIC *N *N 1200))

Interactive query tools considerations

Query for iSeries™, DB2® Query Manager, and the DB2 Query Management function for i5/OS™ all have Unicode support. Unicode data can be displayed or printed on a report; by implicitly converting to either character or mixed art.

Related reference
Open Query File (OPNQRYF) command
Related information
Query manager use PDF
Query management programming PDF