|
Booth, I don't remember specifically is RPG keeps the physical file i/o feedback area up to date for logical views, but the relative record number in the database file's IO feedback area is the physical record number. That is, the same record number as the physical file record. You could, of course, store this number in a subfile if you needed to. But if memory serves me, and it hasn't been lately, RPG does blocking and only updates the I/O feedback area every block or so. The work around it to force unblocked input, or rather, set the blocking to 1. Use the OVRDBF command with NBRRCDS(1). Cozzi -----Original Message----- From: boothm@earth.goddard.edu [SMTP:boothm@earth.goddard.edu] Sent: Monday, April 28, 1997 3:39 AM To: MIDRANGE-L@midrange.com Subject: re: RRN in a logical file: A light bulb just went on.... Is it possible to use Relative Record Number in a subfile on a logical file? Will RRN #1 be the first record in the file logically? Or will it be the first record that arrived in it? ----------------------------------------------------------- boothm@earth.goddard.edu ----------------------------------------------------------- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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-2025 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.