Default actions IN CONSTRUCT

When an CONSTRUCT instruction executes, the runtime system creates a set of default actions.

Depending on the invoked default action, field validation occurs and different CONSTRUCT control blocks are executed.

This table lists the default actions created for this dialog:

Table 1. Default actions created for the CONSTRUCT dialog
Default action Description
accept

Validates the CONSTRUCT dialog (validates field criteria)

Creation can be avoided with ACCEPT attribute.

cancel

Cancels the CONSTRUCT dialog (no field validation, int_flag is set to TRUE)

Creation can be avoided with CANCEL attribute.

close

By default, cancels the CONSTRUCT dialog (no validation, int_flag is set)

Default action view is hidden. See Implementing the close action.

help

Shows the help topic defined by the HELP clause.

Only created when a HELP clause is defined.

The accept and cancel default actions can be avoided with the ACCEPT and CANCEL dialog control attributes:
CONSTRUCT BY NAME cond ON field1 ATTRIBUTES (CANCEL=FALSE)
    ...