Creating an Export Program

This section describes how to create export programs with Report Writer. An export program can be used to transfer data from an application database table to an ASCII file, or used to generate an Import program automatically.

  1. Start REPSETUP. You can start it from the DP4 main menu like this:

  2. Enter the database name.

  3. On the Edit menu, select the Automatic program generation option.

  4. On the Automatic Report Program Generation screen, enter Export as the program type to generate.

    For export programs, the other fields of importance are:

    By default, the maximum line length possible is 500 characters. If you have tables that are wider than this, the options are:

    The Automatic Program Generator automatically generates report programs for exporting data in a standard format from the specified tables.

  5. Once you have created all the export programs you need, press <Esc> to return to the Edit menu.

    You now have a choice of actions: