Handling Spooled Files and Printing Functions: Presented by
Handling Spooled Files and Printing Functions: Presented by
Printing Functions
Presented By
■ Output Queue
An Output Queue is an object that contains printer output
waiting to be printed.
■ Spooled File
This printer output is also called a spooled file.
■ Printer Writer
The printer writer is a system program that sends spooled files
from an output queue to a physical printer. Normally, you have
an output queue for each printer on your system, and the
printer and output queue have the same name.
iSeries Printing Elements
iSeries Printing Load Balancing
The Printing Process
❶ Program-to-Queue.
❷ Queue-to-Printer.
■ QPRINT
■ QSYSPRT
Spooled file subsystem
• WRKOUTQ *ALL
• WRKOUTQ QPRINT
All Output Queues
Work with All Output Queues
More …
Command
===> __________________________________________________________________
F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys
Change Output Queue
Change Output Queue (CHGOUTQ)
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
Option5- Work With
Work with Output Queue
Opt File User User Data Sts Pages Copies Form Type Pty
5 QPDZDTALOG A97001080 RDY 1 1 *STD 5
_ R1404DSP A97001080 RDY 8 1 *STD 5
_ R1505 A97001080 RDY 12 1 *STD 5
_ R1404DSP A97001080 RDY 8 1 *STD 5
_ R1505 A97001080 RDY 12 1 *STD 5
_ R1505 A97001080 RDY 12 1 *STD 5
_ R1404PF A82322260 RDY 3 1 *STD 5
_ R1505DIS A82322260 RDY 6 1 *STD 5
_ R1505 A82322260 RDY 9 1 *STD 5
More . . .
Parameters for options 1, 2, 3 or command
===> __________________________________________________________________
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
Spool File Commands
Command Description
CHGSPLFA Change Spool File Attributes
CPYSPLF Copy Spool File
DLTSPLF Delete Spool File
DSPSPLF Display Spool File
HLDSPLF Hold Spool File
RLSSPLF Release Spool File
SNDNETSPLF Send Network Spool File
SNDTCPSPLF Send TCP Spool File
WRKPRTSTS Work with Printer Status
Printed Spool File
Display Spooled File
File . . . . . : QPDZDTALOG Page/Line 1/1
Control . . . . . ____________________________ Columns 1 - 78
Find . . . . . . __________________________________________________
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....
5769SS1 V4R2M0 980228 AUDIT LOG
Library/File . . . . . WAT1080LIB/R1404PF
Member . . . . . . . . R1404PF
Job Title . . . . . . WORK WITH DATA IN A FILE
SSNO COURSE NUMBER TERM DATE COURSE NAME IN
Changed ******** 101 52297 COMPUTER SCIENCE I
CSC101
Changed ******** 110 121597 MICROCOMPUTERS I
DPS110
Changed ******** 310 121597 ADVANCED C
CSC310
Changed ******** 210 52297 INTRO TO C
CSC210
Changed ******** 201 52297 CALCULUS I
MTH201
Changed ******** 202 121597 COMPUTER SCIENCE II
More. . .
F3=Exit F12=Cancel F19=Left F20=Right F24=More keys
Spool File Control Line Commands
Command Action
T Takes you to the top of the report (first page).
Additional Parameters
More. . .
F3=Exit F4=Prompt F5=Refresh F12=Cancel
F13=How to use this display F24=More keys
Change Spooled File Attributes
More. . .
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Multiple Command Changes
Work with Output Queue
Opt File User User Data Sts Pages Copies Form Type Pty
2 QPDZDTALOG A97001080 RDY 1 1 *STD 5
_ R1404DSP A97001080 RDY 8 1 *STD 5
2 R1505 A97001080 RDY 12 1 *STD 5
_ R1404DSP A97001080 RDY 8 1 *STD 5
2 R1505 A97001080 RDY 12 1 *STD 5
2 R1505 A97001080 RDY 12 1 *STD 5
_ R1404PF A82322260 RDY 3 1 *STD 5
2 R1505DIS A82322260 RDY 6 1 *STD 5
_ R1505 A82322260 RDY 9 1 *STD 5
More . . .
Parameters for options 1, 2, 3 or command
===> OUTQ(SYSPRT)______________________________________________________
F3=Exit F11=View 2 F12=Cancel F20=Writers F22=Printers
F24=More keys
Printer Writer Commands
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
Thank You