To import a QMF object in a CMS file to temporary storage, enter:
IMPORT objecttype FROM filename
For example, to import a query in a file that is named REPORTX to temporary storage, enter:
IMPORT QUERY FROM REPORTX
If you do not specify a file type or file mode, QMF uses the object type, in this case QUERY, as file type, and A as the file mode.
To import a QMF object in a file to the database, enter:
IMPORT objecttype objectname FROM filename
For example, to import a query that is named MYREP4Q from a file that is named RPT4Q to the database, enter:
IMPORT QUERY MYREP4Q FROM RPT4Q