Problem:
The following error occured when trying to respool a report back to an output queue.
FTP Send File Error 22016 occured while sending file.
The log file showed:
Error -9997 - Occured while spooling file to AS/400 output queue XXXX
Solution:
Verify how long its taking to convert the report on the server side.
If its taking longer then what the FTP Inactivity Timeout value is set to, then change the Inactivity Timeout value to an appropriate time.
Prompt of the following command to view the Inactivity Timeout value:
CHGFTPA
Example: Inactivity Timeout value = 1 hour
CHGFTPA INACTTIMO(3600)
After changing the Inactivity Timeout value, the FTP service on the AS/400 must be restarted.
End the FTP Service
ENDTCPSVR SERVER(*FTP)
Start the FTP Service
STRTCPSVR SERVER(*FTP)
Last Modified On:
No, open a new Support Case