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
is this a rpg channel?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
how do I preserve and clean the array?
what was the robotech rpg?
how can you display specific subfile page on the screen in unequal subfile?
what is program status data structure?
what is kids-rpg?
what is file information data structure?
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.
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
how do I play {insert rpg system here}?
How Chain operation copies the record's data to the input buffer for the program?
what is the rpg system?