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


Please Help Members By Posting Answers For Below Questions

is this a rpg channel?

679


how do I declare a table or array in rpg iv?

737


Explain mdt?

665


what is program status data structure?

1387


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

768






What is ment by record level identifier?

654


what is the necessary keyword needed to scroll subfile records?

702


how does the rpg element work?

716


what are the key words you must use when using a subfile?

692


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561


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

831


what is the rpg system?

667


how can you display specific subfile page on the screen in unequal subfile?

673


what is a rpg?

701


how do you use commitment control in rpg?

757