Yes, I know that it is explicitly forbidden. And I understand why: The return address for each PERFORM'ed paragraph is assigned a specific area in the DSA and so there is only one place to put a return address for a given PERFORM'ed paragraph. But I wondering why IBM did it this way. I don't have access to the ANSI COBOL standard. I've been told that many of the things that I consider to be "oddities" in COBOL are not due to IBM's desire, but due to the standard forcing a particular way to do things. But a PERFORM push down stack of return addresses just seems "better" to me.
What triggered this is a desire on my part to __EASILY__ detemine the PERFORM sequence that got me to a particular paragraph. Right now, I must find the "PERFORM return" slot for the paragraph in execution to determine which paragraph the PERFORM verb is in. And then "loop" doing the same. And I'm not sure how to determine if a paragraph was truly PERFORM'ed as opposed to "dropped into" from the preceeding paragraph. Some sort of "stack" would make this much simpler for me. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

