Re: Stop Run vs GoBack
- From: spambait@xxxxxxxxxx (Doug Miller)
- Date: Wed, 27 Jun 2007 00:49:20 GMT
In article <46815DBC.6F0F.0085.0@xxxxxxxxxxxxxx>, "Frank Swarbrick" <Frank.Swarbrick@xxxxxxxxxxxxxx> wrote:
<ppdgi.8867$c06.3358@xxxxxxxxxxxxxxxxxxxxxxxxxx>, DougOn 6/26/2007 at 1:02 PM, in message
Miller<spambait@xxxxxxxxxx> wrote:
In article <4680FA70.6F0F.0085.0@xxxxxxxxxxxxxx>, "Frank Swarbrick"
<Frank.Swarbrick@xxxxxxxxxxxxxx> wrote:
That, combined with what Roger said, makes sense. The problem I havewhen 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. ;-)
Did I say that I did it? Umm, I meant that a cow-worker did it. Several
times.
:-)
LOL
--
Regards,
Doug Miller (alphageek at milmac dot com)
It's time to throw all their damned tea in the harbor again.
.
- 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
- Re: Stop Run vs GoBack
- From: Doug Miller
- Re: Stop Run vs GoBack
- From: Frank Swarbrick
- Stop Run vs GoBack
- Prev by Date: Re: Stop Run vs GoBack
- Next by Date: Re: Creating a Web Service with COBOL...
- Previous by thread: Re: Stop Run vs GoBack
- Next by thread: Help: Anyone have a demo about "Hello World" on windows OS with Micro Focus COBOL
- Index(es):
Relevant Pages
|