The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Progressive Modernization Using Managed COBOL
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
alex turnerPosted Oct 6, 2010, 9:19 AM
The biggest difference is that method allocate local storage on the stack and are fully recursive. However, in the static form they are represented here - they are a first step towards object structured coding.
Jeff SpaldingPosted Oct 5, 2010, 11:04 PM
Thanks for the straight forward example of setting up a method in COBOL. Can you also explain how this is different or preferable to placing the same code into a nested program. It seems that would still support the concept of local variables without needing to learn "new" COBOL concepts such as methods. Some explanation of examples of the advantages of methods over nested programs would be useful for me.