Re: EXIT PERFORM Help, please
From: Richard (riplin_at_Azonic.co.nz)
Date: 11/17/04
- Next message: Lueko Willms: "Re: Para1 THRU Para2"
- Previous message: Richard: "Re: Para1 THRU Para2 (was: Infinite Loops and Explicit Exits"
- In reply to: Pete Dashwood: "EXIT PERFORM Help, please"
- Next in thread: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Reply: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Nov 2004 10:53:57 -0800
"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: Lueko Willms: "Re: Para1 THRU Para2"
- Previous message: Richard: "Re: Para1 THRU Para2 (was: Infinite Loops and Explicit Exits"
- In reply to: Pete Dashwood: "EXIT PERFORM Help, please"
- Next in thread: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Reply: Pete Dashwood: "Re: EXIT PERFORM Help, please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|