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?.
Answers were Sorted based on User's Feedback
Answer / xxx
setgt and then a readpe will read 52 times then it will
throw EOF.
| Is This Answer Correct ? | 0 Yes | 3 No |
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
What is the difference between iter and do?
two types of read performed in dataqueue?????
What is the significance of UDATE?
difference between CHAIN and READE?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
what is the use of sflnxtchg?
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.
what is data area and how it is used in rpg program ?
RPG/400 faqs?