how to retrieve particular field records from a physical
file,say i have a physical file called 'employee' in it i
have to retrieve the records of a field 'admin' present in
pf 'employee' using rpg,but i should not use logical file
or openquery file.

Answer Posted / satya

If this is a keyfld, u can directly call the record in 'factor1' setll filename then read.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Interviewer asked me write down DDS for load all subfile .can anybody write dds

1019


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1311


What is a record lock error?

1266


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?

4209


When it is desirable to describe files Internally?

1188






What is ment by record level identifier?

654


how do I play {insert rpg system here}?

585


How many program bind in one module....

2121


what is an online rpg?

725


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5407


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.

2199


How Chain operation copies the record's data to the input buffer for the program?

1082


How can we know running job is batch or interactive?

656


how do you use commitment control in rpg?

757


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2373