|
Ok, If you do an explicit CLOSE, the file WILL close. Unless, it is shared and open in another program. Is it failing on the open with a CPF message? Why don't you just do a SETLL to reposition? Or are you using OPNQRYF or the like? Regards Adam White adam@slic-systems.com www.slic-systems.com/ -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of mohd khan Sent: 05 November 2001 19:38 To: rpg400-l@midrange.com Subject: Re: Close File Ok, here is the logic I'm reading the file when EOF occour I'm closing that file but some how the file remain open I want to reopen this file, because I want to read it again for the 2nd time for the different Dept. The program was running fine from last two years, No one changed it, I did checked the object The program originally written in RPG/400 our I.S dept. upgraded the ver, as well as hardware also, this change will not effect the object ? right I'm not sure
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.