Structure of a declarative DIALOG block

A declarative DIALOG instruction is made of a single sub-dialog block, with an optional DEFINE clause to declare local variables.

Unlike procedural DIALOG blocks, declarative DIALOG blocks can only define one sub-dialog block.

The dialog instruction in the declarative DIALOG block binds program variables to form fields and defines the type of interaction that will take place for the data model (simple input, list input or query).

The program variables used by the declarative dialog can be local to the current module or passed as parameter in the DIALOG block definition.

The dialog implements individual control blocks that allows you to control the behavior of the interactive instruction. The dialog can also hold action handlers.

The declarative DIALOG block can define the following dialog types: