|
I am using a procedure to add records to a subfile, which is essentially one of my standard subfile load routines turned into a procedure. The subfile is cleared using SFLCLR in the calling procedure. The called procedure sets RRN to 0 and begins adding records. On the first WRITE, I receive an "incorrect relative record number or field selection" error. This is a subfile record that is not bound by any WINDOW keywords and RRN is 1 when the WRITE is attempted. SFLINZ is not used so there are definitely no records in the subfile when the WRITE is attempted. The SFLCLR indicator is also turned off. Any ideas will be most appreciated. Thanks. Donald R. Fisher, III Project Manager Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@xxxxxxxxxxxxx
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.