CALL ON or SIGNAL ON? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Friday, March 15, 2024 5:38 PM To: [email protected] Subject: Re: Rexx numeric digits and scientific notation question On Fri, 15 Mar 2024 19:36:12 +0000, Seymour J Metz wrote: >The SIGNAL statement unwinds the stack in a very disruptive fashion; its >behavior is unlike GOTO in any language that I am familiar with. Use it for >anything but exception handling at your peril. > >"unwinds" in a very disruptive and partial fashion. I once debugged a naive >co-workers program which handled an exception in a subroutine by SIGNAL to top of main loop. Worked fine in a modest test data set. Overflowed CALL/RETURN stack on a larger data set. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
