To download a spool file from the DOS FTP command prompt using the iSeries CPYSPLF command:
- Manually log into the iSeries FTP server.
- Gather the spool file name, job name, job number, user ID, and spool number.
- To log in to the FTP server and get to the FTP command prompt, use the following command, where 1.1.1.1 is the server IP address:
ftp 1.1.1.1
- Run the following commands, using the spool-file information you gathered in step 2:
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
Last Modified On:
No, open a new Support Case