20 pts.
 Reading a database file via RPG program
could anyone provide me with the codeline for reading a database file via RPG program

Software/Hardware used:
ASKED: November 24, 2008  5:49 AM
UPDATED: November 24, 2008  2:31 PM

Answer Wiki:
Hi, The operation codes for database files are READ, READE, READP and REDPE (in RPG400) or READPE (in ILE/RPG). Depending on whether your file is keyed or not you may also be able to use SETLL or SETGT to position to a location by key or CHAIN to get a record by key value. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  November 24, 2008  10:58 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _