adspace


What is the difference between iter and do?

Answer Posted / Nilesh Rai

In RPG400, both 'ITER' and 'DO' are looping constructs but they differ in their functioning. 'ITR' is used for sequential access to records within a file while 'DO' is used for repetitive operations without specific data structures or files.nn`ITER` uses a pointer to move from one record to the next, whereas `DO` executes a block of code repeatedly a specified number of times.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category