Only one LPD server job at a time listens for a valid LPR request from a remote
system. When an LPR request comes in, that job handles the request, and attempts
to pass the
listening
socket to another waiting LPD server job.
If LPD passes the socket successfully, it submits a replacement LPD server job
using the SBMJOB command and ends when the current job is complete. If LPD
cannot pass the listening socket (if only one server is running, for example), it runs
in single server mode.
In single server mode, additional LPR requesters must wait for any currently
running requests to reach a checkpoint stage or complete processing before their
request is handled. Because the system cannot pass the listening socket to a
waiting LPD server, the current LPD server continues to run instead of ending, and
no replacement job is submitted.
To avoid LPR request failures while a job is running, start LPD with a minimum of
two servers configured. The wait for a checkpoint stage or processing to complete
is often significant, especially if you are receiving a large print job.
How an AS/400 System Receives a Spooled File from Another AS/400
System
If another AS/400 system sends the spooled file, the first file to arrive is the control
file. This is because AS/400 LPD uses the newer RCFF (Receive Control File First)
and RDFUL (Receive Data File of Unspecified Length) protocols that RFC 1179
describes. If you send the spooled file without transformation from SCS to ASCII,
the control file contains the extended print attributes. The AS/400 LPD process
checks the extended print option flag and determines that the spooled file attributes
are being sent with the data.
Work with Active Jobs ENDAS011
05/11/94 07:26:02
CPU %: 4.5 Elapsed time: 00:02:02 Active jobs: 51
Type options, press Enter.
2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message
8=Work with spooled files 13=Disconnect ...
Opt Subsystem/Job User Type CPU % Function
Status
QTGTELNETS QTCP BCH .0 DEQW
QTMSBRCL QTCP BCH .0 PGM-QTMSBRDG DEQW
QTMSBRSR QTCP BCH .0 PGM-QTMSBRSR TIMW
QTMSNMP QTCP BCH .0 PGM-QTOSMAIN DEQW
QTMSNMPRCV QTCP BCH .0 PGM-QTOSRCVR TIMW
QTLPD66887 QTCP BCH .0 TIMW
QTLPD67093 QTCP BCH .0 DEQW
More...
Parameters or command
===>
F3=Exit F5=Refresh F10=Restart statistics F11=Display elapsed data
F12=Cancel F23=More options F24=More keys
Figure 227. Viewing the LPD Servers from the Work with Active Jobs Display
364 OS/400 TCP/IP Configuration and Reference V4R4