Child enclave has a COBOL main routine
Child enclaves created by SVC LINK or CMSCALL that have a COBOL main program inherit the runtime options of the parent enclave that created them. Therefore, the TRAP setting of the parent and child enclaves is always the same.
Parent enclave TRAP(ON) Child enclave TRAP(ON) | Parent enclave TRAP(OFF) Child enclave TRAP(OFF) | |
---|---|---|
Unhandled condition severity 0 or 1 | Resume child enclave | Resume child enclave |
Unhandled condition severity 2 or above | Signal CEE391 (Severity=1, Message Number=3361) in parent enclave | Process terminated with abend U4094 RC=40 |
Non-Language Environment abend | Signal CEE391 in parent enclave | Process terminated with original abend code |
Program check | Signal CEE391 in parent enclave | Process terminated with abend S0Cx |