To export a QMF object from temporary storage to a TSO data set, enter:
EXPORT objecttype TO dataset
For example, to export a query from temporary storage to a data set that is named REPORTX, enter:
EXPORT QUERY TO REPORTX
To export a QMF object in the database to a data set, enter:
EXPORT objecttype objectname TO dataset
For example, to export a query that is named MYREP4Q in the database to a data set that is named RPT4Q, enter:
EXPORT QUERY MYREP4Q TO RPT4Q
You can use either a fully qualified or partially qualified name in TSO.
For more information on using TSO data set names with the EXPORT command, see the QMF Reference, SC26-4716-05.