On Sun, Feb 8, 2015 at 5:00 PM, Clark Morris <cfmpub...@ns.sympatico.ca> wrote:
> On 14 Jan 2015 16:57:26 -0800, in bit.listserv.ibm-main you wrote: > OOPs, the previous response got sent too soon. > > <snip>. If I > knew more about some of the newer languages, I might be able to make a > good case for IBM effort being directed to converting COBOL programs > to one or more of them. If COBOL still is the best and simplest way > to handle business problems, then much of the 2002 standard should be > adopted. I would take advantage of the new EXIT statements in COBOL > 5.1 or 5.2 and do appreciate seeing them. > In COBOL 5.2 the EXIT statement is significantly more useful. Exit statement enhancements includes; EXIT SECTION leaves current section EXIT PARAGRAPH leaves current paragraph EXIT PERFORM leaves an inline PERFORM block (similar to LEAVE in PL/I and break in C) EXIT PERFORM CYCLE skips the remainder of the current iteration of an inline PERFORM block (similar to ITERATE in PL/I and continue in C) The exit perform and exit perform cycle eliminate the need to use different unstructured techniques, setting flags or indexes/subscripts. Our application group has requested the next upgrade use COBOL 5.2 instead of 5.1 to get these features sooner. > Clark Morris > > > > >Cheers, > >TomR >> COBOL is the Language of the Future! << > > > >---------------------------------------------------------------------- > >For IBM-MAIN subscribe / signoff / archive access instructions, > >send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN