| Record input (INPUT) / Using simple record inputs | |
When an INPUT instruction executes, the runtime system creates a set of default actions.
According the invoked default action, field validation occurs and different INPUT control blocks are executed.
This table lists the default actions created for this dialog:
| Default action | Description |
|---|---|
| accept | Validates the INPUT dialog (validates fields and leaves the dialog) Creation can be avoided with ACCEPT attribute. |
| cancel | Cancels the INPUT dialog (no validation, INT_FLAG is set to TRUE) Creation can be avoided with CANCEL attribute. |
| close | By default, cancels the INPUT dialog (no validation, INT_FLAG is set to TRUE) 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. |
INPUT BY NAME field1 ATTRIBUTES ( CANCEL=FALSE ) ...