Default actions in PROMPT

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

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

This table lists the default actions created for this dialog:

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

Validates the PROMPT dialog (validates field criteria)

Creation can be avoided with the ACCEPT attribute.

cancel

Cancels the PROMPT dialog (no validation, int_flag is set)

Creation can be avoided with the CANCEL attribute.

close

By default, cancels the PROMPT 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.