Re: Infinite Loops and Explicit Exits

From: Richard (riplin_at_Azonic.co.nz)
Date: 12/01/04


Date: 30 Nov 2004 23:11:09 -0800

Robert Wagner <spamblocker-robert@wagner.net> wrote

> Come on, Doc. You, of all people, know that would never pass muster at
> a mainframe code review. They'd make you rewrite it:
>
> PERFORM 60000-CODE-LIKE-HELL
> THRU 60000-CODE-LIKE-HELL-EXIT
> UNTIL PGM-STATUS = lt-00.
> PERFORM 20000-NEXT-ASSIGNMENT
> THRU 20000-NEXT-ASSIGNMENT-EXIT.

Is that one of your purported 'facts' ? How many mainframe sites did
you survey to determine that this would be the required code ? 200 ?
3 ? your keyboard ?
 
> >... 'good mainframe code' or not... and if either, for what reason?
>
> There are more things in heaven and earth, Horatio,
> Than are dreamt of in your philosophy.
> Hamlet, 1. 5

There certainly are more things than you have seen, everything that
you report to have seen seems to fit your preconceived ideas.