Exporting objects
Using the EXPORT command, you can export data and tables to a UNIX file, TSO data set, or CICS® data queue and export QMF objects such as forms, reports, and queries to a TSO data set or CICS data queue.
You can export objects from either temporary storage or from the database, depending on the object type, as shown in the following table.
Object | Export from database | Export from temporary storage |
---|---|---|
TABLE | X | |
QUERY | X | X |
FORM | X | X |
PROCEDURE | X | X |
DATA | X | |
REPORT | X | |
CHART | X |
You can export reports, charts, and data in comma-separated value (CSV) format from temporary storage, but you cannot import these objects into temporary storage.
When you export a QMF object from an object panel, you do not need to specify the object type for the export. For example, if you enter the EXPORT command from a form panel, the form currently displayed on the panel is exported with the default object type FORM. If you enter the EXPORT command from a chart panel, the chart currently displayed on the panel is exported with the default object type CHART. If you attempt to export from a panel that does not have a valid object type for export, and do not specify a valid object type, QMF prompts you for a valid object type.
The syntax of the EXPORT command varies depending on the object you are exporting and the environment you are working with. Additionally, some restrictions exist for exporting data or tables containing certain data types.