[Default] On 11 Jun 2020 16:17:47 -0700, in bit.listserv.ibm-main
rreyno...@cix.co.uk (Rupert Reynolds) wrote:

>I lost faith COBOL and finallly became a PL/1 biggot when I was told that
>ALTER GOTO was introduced to help support structured programmng :-)

As someone who made extensive use ALTER x-exit TO y, GO TO x because
of PERFORM code generation on DOS360 and small partitions, I guarantee
you the construct preceded structured programming and was less than
friendly to maintenance programmers.  I rewrote more than one of my
programs when partitions grew to be structured and eliminate ALTER
statements.

Clark Morris
>
>Rupert
>
>On Thu, Jun 11, 2020, 01:07 Tom Ross <tmr...@stlvm20.vnet.ibm.com> wrote:
>
>> >The addition of EXIT PARAGRAPH
>> >and EXIT SECTION have eliminated most of the reasons for use of GO TO
>> >in COBOL.  I would be interested in any corrections to my
>> >understanding by those responsible for the COBOL compiler. =20
>>
>> I partially agree, Clark, but what really made it easy to get rid of GOTOs
>> in COBOL (if you wanted to) was EXIT PERFORM and especially EXIT PERFORM
>> CYCLE!
>> These were added to the Standard with COBOL 2014 and implemented by IBM in
>> Enterprise
>> COBOL for z/OS V5.2
>>
>> 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

Reply via email to