User ABENDS



These are specifically defined by the programmer to occur in particular circumstances.

It is possible to generate them exlicitly in Assembler, C, COBOL and PLI and if that is done the codes should be documented in the program's Operating Instructions.

They can occur implicitly in any program executing in a Language Environment (LE) ENCLAVE, as LE uses ESPIE and ESTAE exits to trap System Abends and issue User Abends in the U4000 to U4095 range. When coding an explicit User Abend, values in the range 0 to 3999 should be used to avoid confusion.

The LE User Abends are documented in the Language Environment Runtime Messages manual.

How to create a User ABEND

Here are a collection of links to sample routines containing the code to generate a User ABEND. The examples are complete working examples although the compile JCL may need changing at any given installation.

Copyright © Legac-e Education 2021-