Return codes and messages

Since C/370™ V2, library return codes and messages have been changed. Either JCL, CLISTs and EXECs that are affected by them must be changed accordingly or the CEEBXITA exit routine must be customized to emulate the old return codes. C/370 V2 return codes ranged from 0 to 999 but the Language Environment® return codes have a different range. Refer to z/OS XL C/C++ Messages for more information.

Examples: See the following examples.
  • Return codes greater than 4095 are returned as modulo 4095 return codes.
  • The return code for an abort is now 2000; it was 1000.
  • The return code for an unhandled SIGFPE, SIGILL, or SIGSEGV condition is now 3000; it was 2000.

For detailed information, refer to z/OS Language Environment Debugging Guide.