244 Modernizing IBM Eserver iSeries Application Data Acess - A Roadmap Cornerstone
As of January 2004, DB2 Development Center Version 8.1 only supports SQL stored
procedure development when used with DB2 UDB for iSeries. Even though DB2 UDB for
iSeries supports user defined function and Java stored procedures, the DB2 Development
Center does not support the development of these objects on iSeries servers (support is
planned for a future release of DB2 Development Center). Despite the current limitations,
iSeries programmers will find the DB2 Development Center a useful tool for creating,
modifying, and testing SQL stored procedures.
To access the DB2 Development Center, load the DB2 Application Development client, which
is part of the DB2 Personal Developer’s Edition and can be downloaded from IBM’s Web site:
http://www14.software.ibm.com/webapp/download/search.jsp?rs=db2pde
10.5 DB2 Query Management Facility
Query Management Facility (QMF) for Windows is a query and reporting tool set for IBM's
DB2 relational database management system. The Administrator function is used to define
the connection to the DB2 UDB server such as iSeries Server V5.1 or later. The end user can
use a graphical version of the query to build the queries without SQL knowledge by using the
diagram or prompted interfaces. In addition, the QMF companion product has the conversion
utilities available to convert Query/400 or Query Manager/400 into corresponding QMF for
Windows objects. You can modernize the existing query reports instead of recreating them
from scratch.
10.5.1 Migrating existing queries
In the following example, we demonstrate how to convert a query and a query form for iSeries
to QMF for Windows objects. We also use QMF for Windows V8.1 to run a query with a query
form from those objects.
We have *QMQRY object, MYQRY, and *QMFORM object, MYFRM, on the iSeries server.
We use MYQRY and MYFRM to create a report summarizing the order amount and sorted by
customer name, as shown in Figure 10-22.
Figure 10-22 Report created by query objects on iSeries server