Author Topic: How to catch all terminating conditions in Classic Rexx?  (Read 316 times)

Dave Anderson

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How to catch all terminating conditions in Classic Rexx?
« 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.