Page 1 of 1

Sending an iSeries Spoolfile

Posted: Mon Feb 08, 2010 2:31 pm
by tphillips
Is there an easy way to send a spoolfile between iSeries systems? I know of SNDNETSPLF & SNDTCPSPLF, but they are blocked between the two iSeries sys's I need to use. I'd like to use GoAnywhere. I can proably copy the spoolfile to a PF, then send it, but I'd like to know there's an easier way.

Thanx, Tom Phillips

Re: Sending an iSeries Spoolfile

Posted: Wed Feb 10, 2010 9:51 am
by Support_Mary
Yes you can create a GoAnywhere Project that uses the Surveyor/400 function to export a spool file. The Surveyor/400 command EXPSPL allows you to run a Surveyor/400 spooled file export without a GUI this allows you to embed it into your GoAnywhere Director project. Using this command you can export the spoolfile into a PDF or Text document to your IFS. Once it is on the IFS the GoAnywhere project can FTP it to your other iSeries. This will work as long as you don’t need the information in a spool file on the other iSeries.

If you need to have the information in a spool file on the other iSeries. Once the text file is on the IFS you will create a physical file and copy the data from the text file to the physical file. The final step is to copy the physical file to a spool file.