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
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:
Example: Inactivity Timeout value = 1 hour
After changing the Inactivity Timeout value, the FTP service on the AS/400 must be restarted.
End the FTP Service
Start the FTP Service