7 1 ABORT

LANSA Technical

7.1 ABORT

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 refer to Commitment Control in the LANSA for i User Guide.

Also See

7.1.1 ABORT Parameters

7.1.2 ABORT Examples

7.6 CALL (see the IF_ERROR parameter)

7.46 EXIT

7.69 MENU

7.81 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 ---------------