|
Of course if you are using RPG IV the RRN will always be correct in the INFDS. Just another one of the reasons why everyone should be using RPG IV. Scott Mildenberger > -----Original Message----- > From: Mike.Barton@ecsoft.co.uk [SMTP:Mike.Barton@ecsoft.co.uk] > Sent: Wednesday, November 15, 2000 5:25 AM > To: RPG400-L@midrange.com > Subject: Re: Actual Record Number > > > > > >Could any one tell me how to get the Actual Record number for a record in > a > data base > >file. > > > Ahmed > Best way is to use the information DS against the file in question. > RRN will return the actual record number in the file. Please note that > this can sometimes not always be correct - specifically when the AS/400 > decides to read the records in blocks or something like this. > > Mike > > EG: > > FFile IF E K DISK KINFDS INFDS > IINFDS DS > I B 397 4000RRN > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.