z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


What causes termination

z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode
SA38-0689-00

Under Language Environment, an application terminates when any of the following conditions occur:
  • The last thread in the enclave terminates (which in turn terminates the enclave).
  • The main routine in the enclave returns to its caller.
  • An HLL construct issues a request for the termination of an enclave, for example:
    • C's abort() function
    • C's raise(SIGTERM) function
    • C's _exit() function
    • C's exit() function
  • A default POSIX signal is received, where the default is termination.
  • An abend is requested by the application (that is, the application calls __cabend()).
  • An unhandled condition of severity 2 or greater occurs. (See Termination behavior for unhandled conditions for information.)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014