CEEOEXIT

CEEOEXIT CWI service terminates the calling process.

Syntax

void CEEOEXIT (status)
INT4    *status;
CEEOEXIT
Call this CWI interface as follows:
L     R15,CEECAACELV-CEECAA(,R12)     CAA address is in R12
L     R15,3292(,R15)
BALR  R14,R15
status (output)
A full word binary integer containing the status field conforming to the allowable exit status values of:
X'000000'xx
Normal Termination. The child process ended due to a normal termination of the process with status code indicated as xx, where xx can be any value.
Usage notes:
  1. If the application was invoked due to an exec() or fork(), the kernel does not return to the caller. If it cannot complete its processing successfully, an EC6 abend is issued.
  2. If an incorrect exit status is specified, the kernel issues an EC6 abend and a reason code X'0B19C00F'.
  3. This function is accessible independent of the POSIX runtime option.