Child enclave has a C, C++, or Language Environment-conforming assembler main routine

Table 1. Unhandled condition behavior in a C, C++, or assembler child enclave, under MVS™
  Parent enclave TRAP(ON) Child enclave TRAP(ON) Parent enclave TRAP(ON) Child enclave TRAP(OFF) Parent enclave TRAP(OFF) Child enclave TRAP(ON) Parent enclave TRAP(OFF) Child enclave TRAP(OFF)
Unhandled condition severity 0 or 1 Resume child enclave Resume child enclave Resume child enclave Resume child enclave
Unhandled condition severity 2 or above Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition
Non-Language Environment abend Resume parent enclave, and ignore condition Process terminated with original abend code Resume parent enclave, and ignore condition Process terminated with original abend code
Program check Resume parent enclave, and ignore condition Process terminated with abend U4036, Reason Code=2 Resume parent enclave, and ignore condition Process terminated with abend S0Cx
Table 2. Unhandled condition behavior in a C or assembler child enclave, under CMS
  Parent enclave TRAP(ON) Child enclave TRAP(ON) Parent enclave TRAP(ON) Child enclave TRAP(OFF) Parent enclave TRAP(OFF) Child enclave TRAP(ON) Parent enclave TRAP(OFF) Child enclave TRAP(OFF)
Unhandled condition severity 0 or 1 Resume child enclave Resume child enclave Resume child enclave Resume child enclave
Unhandled condition severity 2 or above Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition Resume parent enclave, and ignore condition
Non-Language Environment abend Process terminated with original abend code Process terminated with original abend code Process terminated with original abend code Process terminated with original abend code
Program check Resume parent enclave, and ignore condition Process terminated with abend U4036, Reason Code=2 Resume parent enclave, and ignore condition Process terminated with CMS message