i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.
Answer Posted / deepika
setll keyfld pf1
reade keyfld pfl1
dou %eof
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a record lock error?
how do I declare a table or array in rpg iv?
what is the difference between do while and do until?
what is the necessary keyword needed to scroll subfile records?
what is the use of sflnxtchg?
what are the key words you must use when using a subfile?
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?
What is file identifier where we can use?
What is the difference between iter and do?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how do I play {insert rpg system here}?
What is difference between bind by copy and bind by reference?
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 to declare the pull button in AS/400..
How to write record if no field or the field are different in physical file in rpgle ?