Enclave-terminating language constructs

Enclaves can be terminated for reasons other than an unhandled condition of severity 2 or greater. In Language Environment ILC, you can issue an HLL language construct to terminate a C to COBOL enclave from either a COBOL or C routine.

C

Examples of C language constructs that terminate the enclave are: kill(), abort(), raise(SIGTERM), raise(SIGABND), and exit(). When you use a C language construct to terminate an enclave, the T_I_S (Termination Imminent Due to STOP) condition is raised. After T_I_S has been processed and all user code has been removed from the stack, the C atexit list is honored.

COBOL

Examples of C language constructs that terminate the enclave are: kill(), abort(), raise(SIGTERM), raise(SIGABND), and exit(). When you use a C language construct to terminate an enclave, the T_I_S (Termination Imminent Due to STOP) condition is raised. After T_I_S has been processed and all user code has been removed from the stack, the C atexit list is honored.