How can we read a particular record from the database file
which is not having DDS (Flat File). For example, there are
100 records in the flat file. How can we retrive 15th
record in RPG/400 program (Without using CL)
Answer Posted / swetha p rao
Yes ,Using RRN of the file we can retrive.
Chain the file with RRN or Query the file with RRN
select * from temp33 where RRN(temp33) = 15
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is a record lock error?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How to call one program from another program in RPG? please help me with the code
what is program status data structure?
what was the robotech rpg?
How Chain operation copies the record's data to the input buffer for the program?
what is the difference between do while and do until?
How to write record if no field or the field are different in physical file in rpgle ?
how do I declare a minor?
how do I play {insert rpg system here}?
how do I preserve and clean the array?
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
what is the use of sflnxtchg?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
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