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 / ramesh
FPF1 IF E DISK
C READ PF1
C DOW NOT%EOF(PF1)
C ............
C ...........
C READ PF1
C ENDDO
C SETON LR
RPG400
FPF1 IF E DISK
C READ EMP 90
C DOU *IN90=*ON
C ............
C ............
C READ EMP 90
C ENDDO
C SETON LR
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what is the use of sflnxtchg?
what do you mean by an input subfile, what are the keywords required?
How to handle duplicate error handling in RPG?
what is kids-rpg?
How many program bind in one module....
what is an online rpg?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How can we know running job is batch or interactive?
How Chain operation copies the record's data to the input buffer for the program?
how can you display specific subfile page on the screen in unequal subfile?
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
how do I declare a minor?
When it is desirable to describe files Internally?
what is the necessary keyword needed to scroll subfile records?