|
Ummm... not unless they've changed the rules.>Elimiate the OPNDBF command - you don't need it. On first read, RCVF will >implicitly open the file
The OPNDBF is required to be able to use POSDBF to reposition the file.
If the file is opened by the OPNDBF command, this open operation is not used by the Receive File (RCVF)
First off, OVRDBF POSITION(*START) has always seemed like a silly value to me. Where else would one expect it to begin processing?
Secondly, you don't have to use explicit open in order to effectuate your OVRDBF command.
Finally, as I said, reclaiming resources and issuing another read will cause the program to read FROM THE BEGINNING OF THE FILE. (If I didn't say it, I meant it.....)
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.