A QMF Administrator can display any QMF object saved in the database.
If the named object is not a table, it replaces the contents of the same
object in the QMF temporary storage area.
If the named object is a table,
it replaces the contents of the QMF data object and the QMF form object in
temporary storage. A new FORM is created to match the data in the table. This
form provides default formatting for the displayed report.
You can display tables owned by other users if you are authorized to do
so. Use the owner qualifier to display tables owned by another user.
If your current database location is a DB2 for OS/390 server, you can
display a table from a remote locations. Specify the table object with a three-part
name. An example is shown below.
The SHOW command is similar to the DISPLAY command. The difference is:
SHOW
Shows object panels, global variables, and certain parts of panels in
QMF temporary storage.
DISPLAY
Displays QMF objects or database objects.
You can modify a displayed SQL query, form, or procedure with the Insert
and Delete function keys. You can also type over a form's text or data.
Save the changed object with the SAVE command.
If you previously viewed a form panel, DISPLAY FORM displays the last
form panel you viewed. If you have not displayed any part of the current form,
DISPLAY FORM displays FORM.MAIN.
When you use DISPLAY CHART, the contents of DATA as formatted by FORM
are displayed. The data can be further formatted by the Interactive Chart
Utility (ICU) to represent report data graphically. To display a chart, you
must have a graphics terminal.
After you work on a chart in the ICU and exit, the QMF panel on which
you entered the DISPLAY CHART command is displayed again. If you want to return
to a form panel, enter the DISPLAY CHART command from that form panel.
If you enter CHART on the DISPLAY command prompt, the DISPLAY CHART command
prompt appears so that you can specify the parameters needed to display your
chart.
If you are displaying a report or chart and the form is incompatible with
the data or contains errors, the first form panel containing an error is displayed
with the error highlighted. You must correct the first error that is displayed,
and then reissue the CHECK command, or try to redisplay the report or chart
to see the next error.