7.1 ABORT

 Note: Usage options

The ABORT command is used to cause an executing RDML program to end immediately and optionally issue an error message. Ending a function via an ABORT command is considered to be an "abnormal" end and the entire process is canceled by LANSA. For the implications of commitment, control refers to Commitment Control in the LANSA for User Guide.


Also See

7.1.1 ABORT Parameters

7.1.2 ABORT Examples

7.9 CALL (see the IF_ERROR parameter)

7.58 EXIT

7.89 MENU

7.105 RETURN

                                                                                       Optional

ABORT -------- MSGTXT --------*NONE -------------------------->
                                                   'message text'

                    >-- MSGID -------- *NONE -------------------------->
                                                    message identifier

                    >-- MSGF --------- *NONE -------------------------->
                                                   message file library name

                         >-- MSGDTA ------- substitution variables -------|
                                                      | expandable group expression |
                                                       -------- 20 max ---------------