Problem:

Invalid AS/400 Command Response Received from AS/400 FTP Server: Error occurred on command WINSPOOL/WSPL020 FILE(XXXX) JOB(####/XXXX/XXXX) SPLNBR(#).

Solution:

This problem can be caused by a number of issues:
  1. The user may not have *SPLCTL authority set on their AS/400 user profile. If they do not have *SPLCTL authority they can only download reports which were created by their user ID or from an output queue that was created with the DSPDTA(*YES) parameter on the CRTOUTQ command.
  2. The spool file being downloaded was an AFP/IPDS report or had special fonts that won't allow the report to be copied with the CPYSPLF command.
  3. The spool file being downloaded no longer exists in the output queue.  Have user refresh spool file list.
  4. If converting AFP report to PDF with the WinSpool/400 Email Report Server the following criteria must be met:
    1. In File / Settings on the AFP/IPDS Tab only the "Enable Native AFP to PDF Converter" needs to be enabled
    2. In Table Entry / Edit Output Queue/Email Recipient List at the Output Queue level the "Output Format" must be set to NAP
  5. If none of the above solutions work, try running the CPYSPLF command on the AS/400 with the report they are having the issue with.  The report they are trying to convert might have DBCS data in the report.  Look at the KB article in regards to "Converting CCSID Correctly when Downloading Reports"
  6. The spool file may contain Double Byte Characters. Try enabling double byte support using the command: CHGDTAARA DTAARA(WSPLDBCS) VALUE(*YES)

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016