DB2 graphic QMF Version 8

DISPLAY command

The DISPLAY command will display an object in temporary storage or an existing object that was saved in the database. DISPLAY for an object in temporary storage will act only upon the current object; there is no way to DISPLAY an object from temporary storage that is not the current object.

For example, consider the following procedure:

DISPLAY QUERY Q1

DISPLAY QUERY Q2

DISPLAY FORM F1

DISPLAY QUERY

After this procedure runs, query Q2 is the active window, and is the current query object. Query Q1 is inaccessible from any command accessing temporary storage. F1 is the current form object and is accessible from a command accessing the current form object in temporary storage. For example, DISPLAY FORM would display F1.

Syntax

For a target object in the database:

>>-- DISPLAY ------------- ObjectName -----------------------------------<<
              +- QUERY -+
              +- FORM --+
              +- PROC --+
              +- TABLE -+

For a temporary target object:

>>-- DISPLAY --- QUERY --------------------------------------------------<<
              +- FORM ---+
              +- PROC ---+
              +- REPORT -+

Example

DISPLAY QUERY USER1.QUERY1


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004