|
Could you try moving the object with MOV first? Maybe that has a message that you can monitor for. Scott Mildenberger > -----Original Message----- > From: Urbanek, Marty [mailto:Marty_Urbanek@stercomm.com] > Sent: Tuesday, July 16, 2002 11:34 AM > To: 'midrange-l@midrange.com' > Subject: ALCOBJ for IFS, CPYFRMSTMF > > > Anybody know a way for a program to determine if an IFS file > is in use by > another process? > > I have a CL trying to do a CPYFRMSTMF but I get a CPFA09E because > (apparently) the process writing the file is not finished > yet. I would like > to wait and retry the operation, but CPFA09E is not one of > the messages that > can be monitored on CPYFRMSTMF. > > Is there a way to do something similar to ALCOBJ before I attempt the > CPYFRMSTMF? I would prefer a CL command but an API would be OK, too. >
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.