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 / jeganath
Go for ReadE i.e Read Equals,
give 'Demo' in Factor 1
'Demo' ReadE
it will fetch records equals 'Demo' string in the file, and
also it avoid unnecessary reading of other records, very
effective,
Note: it works only when that field is declared as key in
PF file
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what do you mean by an input subfile, what are the keywords required?
can I touch the array during treatments?
what is the use of sflnxtchg?
how can you display specific subfile page on the screen in unequal subfile?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
How can we know running job is batch or interactive?
can you debug ile rpg program using isdb?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
How Chain operation copies the record's data to the input buffer for the program?
What is ment by record level identifier?
Interviewer asked me write down DDS for load all subfile .can anybody write dds