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

What is ment by record level identifier?

645


how do you use commitment control in rpg?

750


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.

2270


how do I declare a minor?

707


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?

4196






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.

2187


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2513


What is the difference between iter and do?

663


what is an online rpg?

717


what is file information data structure?

1355


How to select highest score of each subject or how to select highest income of every month?

1286


what is the necessary keyword needed to scroll subfile records?

695


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1883


How to call one program from another program in RPG? please help me with the code

1250


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1957