Previous Topic: Step 3: Define the Process ModulesNext Topic: Dialog REPTEDIT


Step 4: Define the Dialogs

The next step in defining the application is to define its dialogs. A dialog is a collection of application components created in earlier steps, including file maps and process modules. You can define a dialog by using the online dialog compiler.

The dialogs in the report application are described below.

Dialogs

Name

Description

REPTEDIT

Acts as a mainline routine, reading database records, setting up report lines, and passing control to other dialogs, as required by the application; writes department and report total lines to the report file

DEPTHDR

Writes department header lines to the report file

COLMHDR

Writes detail column header lines to the report file

DLINEOUT

Writes detail lines to the report file

HDRLINE

Writes page header lines to the report file

The definitions for these dialogs are provided separately below, along with the process modules associated with the dialogs and the mapout operations these dialogs perform at runtime. For an illustration of how these dialogs fit together, see the diagram earlier in this section.