7.45 ENDCHECK

The ENDCHECK command is used in conjunction with the BEGINCHECK command and identifies the end of a block of validation checks.

In addition, it indicates what will happen if a validation error is detected within the validation block.

Refer to the BEGINCHECK command for more details and examples of this command.

Also See

7.45.1 ENDCHECK Parameters

7.45.2 ENDCHECK Comments / Warnings

7.45.3 ENDCHECK Examples


                                                                                       Optional

  ENDCHECK -------- IF_ERROR -------- *LASTDIS --------------------->
                                                              *NEXT
                                                              *RETURN
                                                              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