Re: EXIT PERFORM Help, please
From: Pete Dashwood (dashwood_at_enternet.co.nz)
Date: 11/18/04
- Next message: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Previous message: Richard: "Re: Infinite Loops and Explicit Exits"
- In reply to: Richard: "Re: EXIT PERFORM Help, please"
- Next in thread: Lueko Willms: "Re: EXIT PERFORM Help, please"
- Reply: Lueko Willms: "Re: EXIT PERFORM Help, please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Nov 2004 15:39:12 +1300
Thank you Richard for a succinct and easily assimilable response.
I wasn't aware of EXIT PERFORM CYCLE but your response clearly addresses my
question.
Pete.
"Richard" <riplin@Azonic.co.nz> wrote in message
news:217e491a.0411171053.2695e42e@posting.google.com...
> "Pete Dashwood" <dashwood@enternet.co.nz> wrote
>
> > Does EXIT PERFORM finish ALL cycles of the PERFORM, or does it just
finish
> > the current cycle?
>
> In Fujitsu there are:
>
> EXIT PERFORM
> EXIT PERFORM CYCLE
>
> Does this answer your question ?
>
> > If it finishes ALL cycles and transfers to the statement FOLLOWING the
> > END-PERFORM (rather than to the END-PERFORM itself), then there is no
need
> > for me to run a finish flag whose only real purpose is to tell the
PERFORM
> > when to stop.
>
> There is no need to use a 'finish flag' if you use EXIT PERFORM. To
> support this you can use PERFORM WITH NO LIMIT, though this is not '02
> compliant.
>
- Next message: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Previous message: Richard: "Re: Infinite Loops and Explicit Exits"
- In reply to: Richard: "Re: EXIT PERFORM Help, please"
- Next in thread: Lueko Willms: "Re: EXIT PERFORM Help, please"
- Reply: Lueko Willms: "Re: EXIT PERFORM Help, please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|