You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

7.92 ON_ERROR

The ON_ERROR command is used to transfer control to another command if an "error condition" is raised within a validation block.

For more information about the raising of the "error condition" inside a validation block refer to the ENDCHECK command.

An optional error message may be issued when the "error condition" is raised.

Also See

7.92.1 ON_ERROR Parameters

7.92.2 ON_ERROR Comments / Warnings

7.92.3 ON_ERROR Examples

                                                         Required


  ON_ERROR ----- GOTO --------- label --------------------------->


 -----------------------------------------------------------------


             >-- MSGTXT ------- *NONE -------------------------->

                                message text


             >-- MSGID -------- *NONE -------------------------->

                                message identifier


             >-- MSGF --------- DC@M01 . *LIBL ----------------->

                                message file . library name


             >-- MSGDTA ------- substitution variables ---------|

                              |expandable group expression |

                               ---------- 20 max ----------


  • No labels