Editing the template for the "From" table
If you select the Edit template option on the Export Utility panel,
FM/Db2 displays the Column Selection/Edit
panel. You can use this panel to restrict the data in the
Fromtable that you want exported by:
- Selecting (or deselecting) specific columns for exporting.
- Specifying row selection criteria. Only rows whose contents satisfy the criteria are selected for exporting.
Note: When you export data in FM/Db2
internal (SQLDA) format, you cannot alter the order in which the columns are
exported. Data is always exported in the order that the columns are defined
in the Db2® catalog (the same order in
which the columns are displayed in the Column/Selection Edit panel).
The Export Utility ignores any information specified in the Seq field of the template (this information is used to change the order in which FM/Db2 displays or prints columns).
For example, the template shown in Column Selection/Edit panel for the “From” table has
been edited to select certain columns and only rows whose contents meet certain
criteria. If you use this template as the
Fromtemplate for your Export, the data exported is restricted to:
- The columns FIRSTNME, LASTNAME, WORKDEPT, and JOB, but only where
WORKDEPT equals
MNT
and JOB equalsPAINTER
.
Related tasks
Related references