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 / sbakshi4

The Opcode Except can be used to partially write the file .It is mainly used to printer files .

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 the difference between iter and do?

677


what is the procedure and explain about real time scenario.

1482


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

2374


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

676


How would display prime numbers using CL program?

5682






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

694


How many program bind in one module....

2125


What are the types of identifiers?

573


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...........

3289


what do you mean by an input subfile, what are the keywords required?

775


which program rpg or cl is efficent to update a transaction onto a database file and why ?

748


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1464


what is an online rpg?

731


what was the robotech rpg?

686


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?

4213