The Report Writer Developers Manual tells you how to use Report Writer. This section tells you about three parts of Report Writer that are relevant to exporting data from the database.
You use the automatic generation facility to create an export program for exporting data from one or more tables on the database.
Exporting data to an ASCII file
You run the Report Writer data processing program to read the program and produce an export file.
Transferring Report Writer programs between databases
If you intend to distribute the export program (for example for use by the Importer automatic generation facility on the target database), you will need to extract the export program to a file
If you plan to export data from several tables and you want to keep the data in one file, you can specify the same name for the export file and append the data. If you do so, you will need to include a field group tag to identify the different groups of fields present in the export file. (See Understanding Field Groups for more information).
DP4 has another facility for automatically transferring data between databases, which is suitable for use when the databases have the same or very similar structures. See Transferring Data with the Load and Unload Facility.