Previous Topic: Step 2: Define the Process ModulesNext Topic: Dialog RESD1


Step 3: 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.

Dialogs Used

The dialogs in the restore application are described below.

Name

Description

RESD1

Reads input records and acts as a mainline routine, passing control (by means of the application structure) to dialogs RESD2 and ARCD4, as required by the application; writes erroneous input records to a suspense file

RESD2

Finds the requested employee record in the archive file; restores the record; performs another read operation to begin reading associated coverage records; if a coverage record is read, control passes automatically to dialog RESD3; returns control to RESD1 when all associated coverage records have been restored

RESD3

Restores coverage records associated with the restored employee record; if an employee record is read, control passes automatically back to dialog RESD2

ARCD4

ARCD5

Write transaction report lines to an output file

The definitions for these dialogs (excluding ARCD4 and ARCD5, which were defined in the employee-record archive application) are provided separately below, along with the process modules associated with the dialogs and the mapin or mapout operations that these dialogs perform at runtime. For an illustration of how these dialogs fit together, see the diagram earlier in this section.