You can retrieve any object from the database after you save it.
To retrieve an object from the database, enter the following on the QMF command line:
DISPLAY objectname
where objectname is the name of the specific object.
For example, to retrieve an object that is named MYQUERY, enter DISPLAY MYQUERY.
You can also enter the following command:
DISPLAY object objectname
where object is the type of object you want to retrieve, and objectname is the name of the specific object.
For example, to retrieve and display a procedure that is named MYPROC from the database, enter DISPLAY PROC MYPROC.