|
The user profile that runs this... are they set to Limit Capabilities = *YES? Or, maybe they don't have access to the CHGCURLIB/RMVLIBLE commands? That's what the job log messages seem to be telling you. Also, that MDELETE statement is very dangerous. If the MGET process takes, for example, 1 minute to transfer all of the files.... then there's a 1 minute window where someone could possibly add a new file into that directory that won't be downloaded, but WILL be deleted. I strongly recommend only deleting files if you can verify that they have been successfully downloaded to the other system. On Tue, 14 Dec 2004, Frances Denoncourt wrote: > A script that used to work until we upgraded this weekend from V4R5 to V5R2 > is failing. Any ideas? > > > CD /SCHOOLIN > LCD TRSFTP > SYSCMD CHGCURLIB TRSFTP > SENDPASV > LS *.WAR (DISK > MGET *.WAR (REPLACE > MDELETE *.WAR > SYSCMD RMVLIBLE TRSFTP > QUIT > > The two SYSCMD lines fail. > FTP log: Error message ID= CPF0001 > Joblog: Command CHGCURLIB in library *libl not allowed. > Command RMVLIBLE in library *libl not allowed. >
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.