Manually Downloading a Spool File using the DOS FTP prompt - Support

Manually Downloading a Spool File using the DOS FTP prompt

From Support

Jump to: navigation, search

The following commands can be used from the DOS FTP command prompt to download a spool file using the AS/400 CPYSPLF command. You must first manually log into the AS/400 FTP server manually.

You must also know the spool file name, job name, job number, user ID and spool number.

DOS Prompt Commands to Manually Download a Spool File via CPYSPLF and FTP:

ftp 1.1.1.1

** Log in to your FTP server and get to the FTP command prompt.

quote rcmd crtpf file(qtemp/spoolfile) rcdlen(1000) size(*nomax) 

quote rcmd cpysplf file(qpjoblog) tofile(qtemp/spoolfile) job(098330/brad/qpadev0008) splnbr(1) ctlchar(*fcfc)

recv qtemp/spoolfile   c:\spool.txt

quit
Personal tools