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 / siva
Try this
Read File1
If %Found
Dou %Eof
|
|
Read File1
Enddo
Endif
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
What is ment by record level identifier?
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 data area and how it is used in rpg program ?
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
how do I declare a table or array in rpg iv?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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 play {insert rpg system here}?
How to select highest score of each subject or how to select highest income of every month?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
how do I declare a minor?