|
I have a CL program which does the following: DCLF(FTPOUT) CLRPFM (FTPOUT) ...fill FTPOUT during a scripted FTP process ...do RCVF for the records in FTPOUT to check for errors CALL(FTP2PGM) Second program: PGM(FTP2PGM) DCLF(FTPOUT) CLRPFM(FTPOUT) ...similar to previous process The 2nd program errors out during the CLRPFM(FTPOUT) with an error saying that the file is already in use. I'm assuming that this is from the first program already opening the file and calling a second CL which also tries to use the file, but I'm not really sure what's going wrong.
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.