STXIT
From Wikipedia, the free encyclopedia
STXIT was an IBM System/360 series mainframe computer macro instruction under the DOS/VSE operating system, and was also available for the Univac 90/60 series mainframe running its TOS/DOS operating system and later on its VS/9 operating system.
The macro was an abbreviation of the term "Set Exit," and was used by programs written in assembly language. It is used to create a recovery routine in the event of program errors, similar to signal handlers in C and Try/Finally blocks in C++ and other object oriented languages.
On IBM mainframes, newer operating systems such as OS/VS1 replaced the STXIT macro with the STAE ("Set Task Abnormal Exit") macro. Univac's VS/9 continued to support STXIT but also added the CRTN ("Contingency Routine") macro to provide even more powerful error recovery, as well as recovery of some errors which STXIT did not capture.

