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.
This 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.