|
|
| Author |
Message |
markanthos
New User
Joined: 28 Apr 2005 Posts: 14 Location: India
|
|
|
|
Is it possible to use OCCUR in the PERFORM Statement ?
If so how is it different from the Until clause? |
|
| Back to top |
|
 |
References
|
Posted: Thu Apr 28, 2005 11:46 am Post subject: Re: Is it possible to use OCCUR in the PERFORM Statement |
 |
|
|
 |
priya
Moderator
Joined: 24 Jul 2003 Posts: 626 Location: Bangalore
|
|
|
|
| Quote: |
| Is it possible to use OCCUR in the PERFORM Statement |
yes
| Quote: |
| If so how is it different from the Until clause? |
Use OCCURS if you know the no of times to repeat the loop.
Else use UNTIL to specify the condition. |
|
| Back to top |
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1493
|
|
|
|
Hi markanthos,
There is no OCCUR clause in a PERFORM stmt.
You can use:
PERFORM PARA-X 15 TIMES |
|
| Back to top |
|
 |
priya
Moderator
Joined: 24 Jul 2003 Posts: 626 Location: Bangalore
|
|
|
|
Yes, You are right Jack...
We can't use OCCURS Clause in PERFORM Statement.
Thank you. |
|
| Back to top |
|
 |
naveensri2005 Currently Banned Active User
Joined: 22 Mar 2005 Posts: 51 Location: chennai
|
|
|
|
hi
u r right jack. occurs caluse can't used in perform statement.
regards
naveen |
|
| Back to top |
|
 |
|
|