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.9 CALL (see the IF_ERROR parameter)
Optional
ABORT -------- MSGTXT --------*NONE -------------------------->
'message text'
>-- MSGID -------- *NONE -------------------------->
message identifier
>-- MSGF --------- *NONE -------------------------->
message file library name
>-- MSGDTA ------- substitution variables -------|
| expandable group expression |
-------- 20 max ---------------