What is the difference between ITER and DO ? I know both are
used to execute set of statements repeatedly, but what is the
main difference?
Answers were Sorted based on User's Feedback
Answer / joy mukherjee
There is no comparision between DO and ITER as DO statement
is an looping statement and ITER is an branching statement
like LEAVE.
When I use ITER with some condition inside a DO-ENDDO loop,
when that condition occouerd, ITER transfered the control
to ENDDO not out of the loop like LEAVE ie it just skip the
excecution of statements between ITER and ENDDO.
In one statement we can say that ITER in RPGLE is same as
CONTINUE in C.
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / chittim
with in a do loop itself again we have to create loop again
where u want loop by using iterate.
| Is This Answer Correct ? | 2 Yes | 9 No |
how many variables can we declare in cl pgm?
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
How do I read records from Subfile? what is the purpose of READC explain with example?
what is post opcode do
How can we change element of compile time array?Can we do so
What is the purpose of Panel Groups?
How can read PF in reverse order (end to start) in CL pgm..
How we will read call stack?
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?
steps involved in debugging and types of debugging modes?