Back in my NOMAD days, those types of Nomad procedures were called NOBOL programs: Nomad COBOL. We had lots of people tryng to follow COBOL structure to write Nomad and many of them ended up with similar issues.
Lloyd ----- Original Message ---- From: Edward Jaffe <[email protected]> To: [email protected] Sent: Fri, April 27, 2012 6:19:05 PM Subject: Re: GO TO "cobol" On 4/27/2012 2:40 PM, Steve Comstock wrote: > But, Ed, it does have "DO FOREVER". > > I like to joke "You gotta' love a language that does > not have a GOTO but does have a DO FOREVER" LOL! Actually, DO FOREVER is _extremely_ useful. We have the same control structure in HLASM called DO INF (infinite). > > So somehow you've combined the two in one exec! Very > strange behavior. > > Do you have a local TSO command called 'goto'? When > REXX sees a command it does not know, it passes it > to the underlying host as a host command. That's it, Steve! The name of my test EXEC is 'GOTO'. So, it was executing itself recursively! :-D -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 310-338-0400 x318 [email protected] http://www.phoenixsoftware.com/ ---------------------------------------------------------------------- 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

