Control-M for Advanced File Transfer or Control-M Managed File Transfer job may end NOTOK with the following error in the output: |
- Check with the FTP Server Administrator if this can be changed and configured correctly - Define an On-Do Statement for this Control-M for AFT Job to set the Job status set to OK. - However, this means that Control-M for AFT will not be able to determine if the file transferred successfully. - In the Job definition, In the Actions Tab do the following: 1. Add an On-Do action. 2. In the On, select "Specific statement output" 3. In the Statement, put "*actual size [-1]*", without the quotes. 4. In the Code, put "NOTOK", without the quotes. 5. In the Do, select Set to OK. |