Question

  Asked: Mar 13 2008   12:48 AM GMT
  Asked by: Aum


How to fetch data from physical file using RRN value of a record ?


CHAIN, RRN, RPG

I want to fetch / read a record with given RRN value in rpg.
How to read a record for which only RRN value is given, in RPG ?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



On the F specification for the file don't use 'K' for record access type. The default is to use relative record numbers.

Bruce Vining
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register