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 / kamal
EVAL EMPID=15
EVAL=%FOUND(PF NAME)
READ PFNAME
EMPID DSPLY
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
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
how does the rpg element work?
How to handle duplicate error handling in RPG?
what is the procedure and explain about real time scenario.
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is file information data structure?
How to select highest score of each subject or how to select highest income of every month?
how do I preserve and clean the array?
How many program bind in one module....
what was the robotech rpg?
What is ment by record level identifier?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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?
What is file identifier where we can use?