must have the OPRCTL parameter set to *YES. This means that anyone with
*JOBCTL authority, like LPD, can access the OUTQ.
– If the output queue name does not contain a library name, the *LIBL library is
searched.
– If the specified output queue cannot be found, the spooled file is sent to the
output queue QPRINT in the library QGPL.
v If the specified user does not exist on the destination AS/400 system, the
*PUBLIC access authority for the user QTMPLPD is checked. The *LIBL library
associated with the profile QTMPLPD is searched for the requested output
queue.
– If the authority is not *EXCLUDE, the
Receive Printer Job
command is
checked for the name of the requested output queue.
– If the output queue is found, the file is sent to that output queue, provided the
user profile QTMPLPD has access to that output queue or the OUTQ has the
OPRCTL parameter set to *YES. This means that anyone with *JOBCTL
authority, like LPD, can access the OUTQ.
– If the specified output queue cannot be found, the spooled file is sent to the
output queue QPRINT in the library QGPL.
In all of the previous situations, the file is considered successfully sent and
received.
If the QTMPLPD profile has public access set to *EXCLUDE, access to the output
queue is denied, and the file is rejected by the AS/400 destination system. The
error message is sent to the message queue for the QTMPLPD default user profile.
Important!:
There is no process to notify the requesting system that an authority
error was detected because the TCP connection is usually closed by
the time this is determined. Any success messages posted by the LPR
client application mean the file was temporarily received but not
necessarily kept. Do not delete any files until you have verified that
you have proper authority and that your files were received
successfully on the destination system.
How Authority for Putting Spooled Files on Output Queue is
Determined
When LPD creates spooled files, it checks to ensure that the requester has the
proper authority to place spooled files on the output queue. It checks to ensure that
the following are true:
1. The user has *READ authority to the output queue.
2. The user has *SPLCTL special authority.
3. The user has *JOBCTL special authority.
4. The output queue is OPRCTL(*YES).
If any of these conditions are true, then the user has authority to place the file on
the requested output queue. If none of these conditions are true, the file goes to the
default output queue QPRINT in library QGPL.
372 OS/400 TCP/IP Configuration and Reference V4R4