Understanding abend codes
Under Language Environment, abnormal terminations generate abend codes. There are two types of abend codes: 1) user abends (Language Environment and user-specified) and 2) system abends. User abends follow the format of Udddd, where dddd is a decimal user abend code. System abends follow the format of Shhh, where hhh is a hexadecimal abend code. Language Environment abend codes are usually in the range of 4000 to 4095. However, some subsystem abend codes can also fall in this range. User-specified abends use the range of 0 to 3999.
User (Language Environment) abend code:U4041
User-specified abend code:U0005
System abend code:S80A
The Language Environment API __cabend()
terminates your application with an abend. You can set the clean_up
parameter value
to determine how the abend is processed and how Language Environment handles the raised condition. For more
information about __cabend()
and clean_up
, see z/OS XL C/C++ Runtime Library Reference.