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: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.