|
If I understand you correctly, the problem is that the file is open. CLRPFM needs exclusive access to a file. No other process can have the file open. > -----Original Message----- > From: Klein Ron [mailto:ron.klein@brctsg.com] > Sent: Monday, November 29, 1999 12:53 PM > To: 'MIDRANGE-L (E-mail) > Subject: CPF3130 > > > Hi All, > > We have a CL program which needs to do a CLRPFM before the > RPGILE program > starts to write to it. Right after the CLRPFM we do a MONMSG > CPF3130. When > we run the program it still blows up with the message that a > CPF3130 has > occurred because the file is in use. And yes it is, we were > holding it open > with DBU. Then I tried an ALCOBJ with the same MONMSG and go > to the end of > the program on that error; same result. What am I doing wrong? > > TIA > > Ron > +--- > | 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 > +--- > +--- | 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-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.