I'm porting a z/OS application to CMS that uses multiple pthreads within an LE enclave. It successfully uses the RESMGR macro to clean up after a pthread ABENDs (on the basis that a pthread is a task).
RESMGR doesn't exist in CMS, so I was wondering if someone can tell me if it's possible to do something similar in CMS, i.e., catch an ABEND (e.g., program check) from a pthread, perform cleanup on its behalf and allow the rest of the LE enclave to continue? I've looked at what's available in the CMS Multitasking API (which I believe underlies CMS's Open Extension pthreads), but I'm not sure if this is the best way to do this in a pthread-compatible way.
