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



i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in ..

Answer / xxx

setgt and then a readpe will read 52 times then it will
throw EOF.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More RPG400 Interview Questions

Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


How to declare the pull button in AS/400..

0 Answers  


can you debug ile rpg program using isdb?

0 Answers   IBM,


how do you use commitment control in rpg?

0 Answers   IBM,


Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,






Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


How do I read records from Subfile? what is the purpose of READC explain with example?

4 Answers   IBM,


i want to retrieve record b/w 2 dates in as400

2 Answers   L&T,


Categories