7 35 ENDCHECK

LANSA Technical

7.35 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 also indicates what is to happen if a validation error was detected within the validation block.

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

Also See

7.35.1 ENDCHECK Parameters

7.35.2 ENDCHECK Comments / Warnings

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