Job was scheduled through BMC Control-M for Advanced File Transfer Version 7.0.00 which allows to transfer multiple files to a target location. The transfer completed successfully but those files were not moved to the ARCHIVE folder in the source. The AFT.log shows the error below: Job started at '1202 15:26:00:756' orderno - '0091g' runno - '00005' Number of transfers - 1 + Host1 'hostname_A'[Windows-FTP] username 'controlmuser' - Host2 'hostname_B'[Unix-SFTP] username 'controlmftp' Local host is: LUXSCCP01 - Windows 2003 Service Pack 2 build 3790 - x86 Family 6 Model 26 Stepping 4, GenuineIntel + ********** Starting transfer #1 out of 1 *************** Connection to FTP server on host hostname_A was established Connection to SSH server on host 'hostname_B' was established Open data connection for command: RETR T00109.00 ftp reply --->150 Opening BINARY mode data connection. Transfer #1 transferring Src file: '\SOURCE_PATH\T00109.00' on host 'hostname_A' Dst file: '/DEST_PATH/T00109.00' on host 'hostname_B' Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress Transferred: 24534 Elapsed: 1sec Percent: 3 status: In Progress Transferred: 175176 Elapsed: 2sec Percent: 24 status: In Progress Transferred: 378658 Elapsed: 3sec Percent: 53 status: In Progress Transferred: 713550 Elapsed: 4sec Percent: 100 status: Ended OK ftp reply --->550 Cannot create a file when that file already exists. Unable to move source file 'T00109.00' to 'PATH/ARCHIVE/' after transfer Action on source file failed, sleep for 5 seconds, retry number 1 ftp reply --->550 Cannot create a file when that file already exists. Unable to move source file 'T00109.00' to 'PATH/ARCHIVE/' after transfer Action on source file failed, sleep for 5 seconds, retry number 2 ftp reply --->550 Cannot create a file when that file already exists. Unable to move source file 'T00109.00' to 'PATH/ARCHIVE/' after transfer Action on source file failed, sleep for 5 seconds, retry number 3 ftp reply --->550 Cannot create a file when that file already exists. Unable to move source file 'T00109.00' to 'PATH/ARCHIVE/' after transfer Transfer #1 completed successfully Job executed successfully. exiting. |
Please ensure the special AFT variables that can be used in these move/rename operations are specified correctly. These variables are listed in the BMC Control-M for Advanced File Transfer Administrator Guide, section Advanced general parameters, page 43 or click below URL to access the document; http://documents.bmc.com/supportu/documents/53/61/475361/475361.pdf For example, a user may define and move the file to:\ARCHIVE\$$AFTFILE_ALL$$ or rename the file to: OLD$$AFTFILE_ALL$$ |