Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.1 ABORT

Note

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

Panel
No Format
bgColor#ffffcc

                                                                                       Optional

ABORT

Optional ABORT

--------

MSGTXT

--------*NONE

-------------------------->

'message text' >-- MSGID


                                                   'message text'

                    >-- MSGID --------

*NONE

-------------------------->

message identifier >-- MSGF


                                                    message identifier

                    >-- MSGF ---------

*NONE

-------------------------->

message file library name >-- MSGDTA


                                                   message file library name

                         >-- MSGDTA -------

substitution

variables

-------|

| expandable group expression |


                                                      | expandable group expression |
                                                       --------

20

max

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