On 2/4/2011 7:08 AM, Paul Gilmartin wrote:
Rexx SIGNAL sucks. One one hand, it trashes the DO...END structure; OTOH it leaves the subroutine return stack hanging (a naive colleague once authored a Rexx program that used SIGNAL to "get out of Dodge". He tested it, apparently successfully. It crashed on a large input data set when the stack overflowed. PITA to refactor.) Absence of a construct to exit a nest of procedures impels Rexx programmers to eschew subroutines in contexts where they'd otherwise be preferable.
I didn't know that about REXX SIGNAL. The issues you describe are similar to those I described in my post to this thread. At least an HLASM programmer can design his/her program to deal with these issues. Apparently, a REXX programmer is just "screwed". :-( -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/