I am writing Temenos T24 VERSION (input screen) authorisation routine (AUTH.ROUTINE) to do some processing and I need authorisation to stop in case of error. Here is how I have written the error handling:
AF=1; AV=1; AS=1
ETEXT = "Some error message"
CALL STORE.END.ERROR
MESSAGE = "ERROR"
Such error handling displays the error message in field 1, multi-value 1, sub-value 1, and does not allow to continue. However the changes to the record itself are already committed to the database.
What is the correct way to stop authorisation in version AUTH.ROUTINE ?