Analyzing the Database and Query Manager
DiSPlay File Description DSPFD
ANaliZe DataBase Files ANZDBF
ANaliZe DataBase KEYs ANZDBFKEY
Query Manager Not Query/400
All Query Manager Commands GO CMDQM All Query Manager Commands
Query Manager Select, arrange, analyze information in one or more tables Produce reports or new tables Format reports by creating a report form
Query Manager vs Query/400 Query Manager uses SQL to retrieve data. Query/400 uses native iSeries calls. Query Manager can retrieve data from any SQL table on the network. Query/400 can only retrieve data stored in native libraries.
STRQM Create an SQL Query (select statement) Create a report layout or form Execute a query with a report layout to end up with a nice looking report.
Export Query and Form From the QM Statement line Copies the code for these objects to a source member.
STRQMQRY Combines a Query Manager Query and a Query Manager Report and produces a report.
CRTQMQRY Creates a Query Manager Query from a source member.
CRTQMFORM Creates a Query Manager Report from a source Member.
RTVQMQRY Retrieves the source member for a Query Manager query and puts the code in a source member.
RTVQMFORM Retrieves the code for a Query Manager Form and puts the results in a source member.