Overwriting predefined actions with ON ACTION

If you define your own ON ACTION handler with the name of a predefined action, the default action processing is bypassed and the program code is executed instead.

The next code example defines an ON ACTION clause with the accept predefined action name:
INPUT BY NAME customer.*
  ON ACTION accept
    ...
END INPUT

In this case, the default behavior of the automatic accept action is not performed; the user code is executed instead.

Local actions can be overwritten in the same manner, however, this is not recommended (use your own action names).