The RP program is displaying records 11 times .But there
are 10 records in
a pf.(ie last record is displayed twice).How to
display records only 10 times?

Answer Posted / vinits

dou %eof
read ....
.
.
.
.
enddo

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is kids-rpg?

662


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

763


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1560


What is file identifier where we can use?

640


How to write record if no field or the field are different in physical file in rpgle ?

484






how does the rpg element work?

712


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1892


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

827


how do you use commitment control in rpg?

756


can you debug ile rpg program using isdb?

735


What is the difference between iter and do?

669


how do I play {insert rpg system here}?

580


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1962


What is the difference between copybooks and subprocedures in as400?

802


how do I declare a table or array in rpg iv?

734