ACCEPT CONSTRUCT instruction
The ACCEPT CONSTRUCT
instruction validates and exits the
CONSTRUCT
instruction, if no error is raised.
The AFTER FIELD
and AFTER CONSTRUCT
control blocks will
be executed.
The statements after the ACCEPT CONSTRUCT
will be skipped.
CONSTRUCT BY NAME where_part ON ...
...
ON ACTION default_query
CALL set_default_filter()
ACCEPT CONSTRUCT
...
END CONSTRUCT
The CONSTRUCT
instruction creates the default accept action to let the user
validate the dialog.
Use the ACCEPT CONSTRUCT
instruction only in specific cases when the default
accept action is not appropriate.
The ACCEPT CONSTRUCT
instruction can only be used in a singular
CONSTRUCT
dialog, it cannot be used in a DIALOG / END DIALOG
multiple dialog block.