On the F specification for the file don't use 'K' for <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books_web/c0925086288.htm#HDRF34">record access type</a>. The default is to use relative record numbers.
Bruce Vining
Last Wiki Answer Submitted: March 13, 2008 2:09 pm by bvining6,055 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
what you like to do…
it possible in subfile only… if you want do this in simple read operation
if you want to read particular record without using key field, just you can the recno keyword in F spec…..
hey if u do like this never compile program. u face error at compile time. Plz don’t share wrong answer…………………..
what you like to do…
it possible in subfile only… if you want do this in simple read operation
if you want to read particular record without using key field, just you can the recno keyword in F spec…..
Plz don’t share wrong answer…
The answer is correct. If you have a problem compiling, open a question about it to get help.
Tom
A glance at the RPG Manua answers the question. Slightly quicker than logging in here in fact.
(An excellent read for any developer)
.l