Re: Stop Run vs GoBack
- From: spambait@xxxxxxxxxx (Doug Miller)
- Date: Tue, 26 Jun 2007 19:02:52 GMT
In article <4680FA70.6F0F.0085.0@xxxxxxxxxxxxxx>, "Frank Swarbrick" <Frank.Swarbrick@xxxxxxxxxxxxxx> wrote:
That, combined with what Roger said, makes sense. The problem I have when I
accidentally use EXIT PROGRAM in a main program is when I have something
like this.
PROCEDURE DIVISION.
PERFORM HOUSEKEEPING
PERFORM MAINLINE
PERFORM CLEANUP
EXIT PROGRAM.
* ^^ should be STOP RUN or GOBACK
Boy, that's stupid. I've *never* done anything *that* dumb.
<cough> <cough>
<shuffles feet & looks around nervously>
<cough> <cough>
At least not while anyone was watching.
[snip]
After it does the expected CLEANUP it then starts over and does
HOUSEKEEPING, MAINLINE and CLEANUP all over again. Not good! :-)
No, it's not -- but it's typically caught pretty early in the testing cycle.
Or so I'm told. Not that I've ever actually done that, you know. ;-)
--
Regards,
Doug Miller (alphageek at milmac dot com)
It's time to throw all their damned tea in the harbor again.
.
- Follow-Ups:
- Re: Stop Run vs GoBack
- From: Frank Swarbrick
- Re: Stop Run vs GoBack
- References:
- Stop Run vs GoBack
- From: William M. Klein
- Re: Stop Run vs GoBack
- From: Howard Brazee
- Re: Stop Run vs GoBack
- From: Frank Swarbrick
- Re: Stop Run vs GoBack
- From: Roger While
- Re: Stop Run vs GoBack
- From: Rick Smith
- Re: Stop Run vs GoBack
- From: Frank Swarbrick
- Stop Run vs GoBack
- Prev by Date: Re: COMP-1 and COMP-2 resolution on unix (using microfocus)
- Next by Date: Re: Clarification TZ component of CURRENT-DATE
- Previous by thread: Re: Stop Run vs GoBack
- Next by thread: Re: Stop Run vs GoBack
- Index(es):
Relevant Pages
|