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


How the Language Environment enclave return code is calculated

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

When an enclave terminates, Language Environment provides a Language Environment enclave return code and an enclave reason code (sometimes called a return code modifier). The Language Environment enclave return code is calculated by summing the user return code generated by the HLL and the enclave reason code as follows:
Language Environment enclave return code = user return code + enclave reason code

The Language Environment enclave return code is placed in register 15, and the enclave reason code is placed in register 0.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014