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

give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3293


what is the procedure and explain about real time scenario.

1484


how do I preserve and clean the array?

679


What is the difference between iter and do?

682


how do I declare a minor?

720






do you use message subfiles? What are the necessary keywords required coding a message subfile?

694


what is program status data structure?

1396


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

741


how does the rpg element work?

724


What is the difference between copybooks and subprocedures in as400?

817


what was the robotech rpg?

689


What is difference between bind by copy and bind by reference?

1738


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.

2205


how can I tell when to replace the array?

706


What is a record lock error?

1274