|
Barbara, At 1/16/01 01:59 PM -0500, you wrote: Then why does it support the (E) extender (it does, right?)? In what case(s) would an error be generated? >Mark, it's not an error in RPG to close a file that's already closed. I didn't know that! >Why are you doing it in this order? How is the last CLOSE going to be >done? Why not do it this way: > DO 1000 > OVRDBF FILE() MBR() > OPEN > > CLOSE( E ) > DLTOVR > ENDDO > >Barbara Morris I'm doing this in case the file is open and/or has a previous override (there is code for the DLTOVR in the program) from an earlier run that may have failed (if it was run interactively). A final CLOSE after the loop takes care of the last open. -mark +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.