Ask the Expert

Sending a spoolfile to a PC

Using the command SNDTCPSPLF, how can I send a spoolfile to a PC? From iSeries to iSeries it works very fine, but from AS/400 to PC I have got the message 'Remote host system rejected the open attempt'. This is how I use this command:

 
SNDTCPSPLF RMTSYS(*INTNETADR) PRTQ(LTSA) FILE(CDS001P)
JOB(325164/GFIDELIA/SYSADM2) SPLNBR(1) MFRTYPMDL(*NONE)
INTNETADR('10.1.1.100')  

The SNDTCPSPLF process utilizes the LPD/LPR IP servers. This is a client server process that requires active servers on both hosts.

The iSeries 400 supports both functions so you can send a file using LPD to another iSeries where it is received with LPR. Your PC will need to have an active LPR server in order to accept print sent via LPD from the iSeries.

In my opinion, a better way to transfer report output to your PC is to use the Drag and Drop functionality in OPS Nav or to use one of several software packages that e-mail iSeries spool files from the iSeries.


This was first published in February 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: