OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: daveanderson on December 24, 2020, 12:09:59 am

Title: How to catch all terminating conditions in Classic Rexx?
Post by: daveanderson on December 24, 2020, 12:09:59 am
I've got a Classic Rexx program which really wants to do some cleanup on exit, no matter why it's being terminated. I'm catching everything that SIGNAL ON ... handles, but I haven't found any way to catch XCPT_SIGNAL_KILLPROC. I'm also not sure what else I should be catching (while I haven't yet found a definitive statement, I'm reasonably sure that XCPT_SIGNAL_KILLPROC is what happens when a VIO window is manually closed while a program is running). Pointers to accessible documentation are preferred, but any answers are appreciated.