Handling Spooled Files and Printing Functions

Slides:



Advertisements
Similar presentations
Week # 3 AS/400 Library List A library list is:
Advertisements

August 29, Accessing the iSeries and Some Commands.
Week # 2 - Agenda Types of AS/400 Objects Qualified/Unqualified Names
A Quick Review of Unit 2 – Using Windows 7 Computing Fundamentals © CCI Learning Solutions.
I/O Shipping Management An Enhancement For AS/400 DMAS From  Copyright I/O International, 2002 Skip Intro.
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
Linux+ Guide to Linux Certification, Second Edition
Printing from the iSeries. From the query menu, enter option 11. This will take you to the screen where you can display, print, or send the report as.
The AS/400 and the printing process
Introduction to Query Part 2. Query Topics Joining Files Defining Result Fields Complex Record Selection Formatting Output Creating Reports Using Multiple.
1 REVIEW Object types - ???? System security levels - ???? Current library - How is it assigned ???? How do you change it??? Qualified naming - What is.
Chapter 16 - Monitoring Hardware and Jobs
Microsoft Office Illustrated Fundamentals Unit B: Understanding File Management.
Chapter 8 Printing 1. In COBOL you send data to the printer by writing data to a file. In COBOL, the printer is defined as a file, and it is opened, closed,
W1L1ops400.ppt1 Welcome! OPS400 students to the POWER SYSTEM Mid-Range Operating System.
SMART Agency Tipsheet Staff List This document focuses on setting up and maintaining program staff. Total Pages: 14 Staff Profile Staff Address Staff Assignment.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
ICS124 Session 11 Introduction to AS/ By the end of this section, the student will be able to: Define the major difference between the AS/400 and.
Introduction to Query Part 1. Query Overview Quick Utility Efficient Report Yes! Impress your manager!
L9C6ops400.ppt1 Device configuration Chapter 6 How to connect devices to the AS/400.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
AgVantage Software’s Most Commonly Used Queries Lab - Part 2 Presented by: Mike Smark AgVantage National Conference 2010 Presented by: Mike Smark AgVantage.
Week 4 presentation! This week we will cover editing and the use of the on-board tools provided, SEU and PDM.
1 “User” A person who “uses” the AS/400 You are all “Users” each with an unique Userid A Userid identifies you to the system when you signon or run a job.
COMPUTER APPLICATIONS COURSE LEARN HOW TO USE COMPUTERS.
Lecture 3 REVIEW of concepts security assistance profiles Library list
Introduction to Query Part 3. Query Topics Report Breaks  Totals and subtotals Forms of Output  Detail verses summary Output Types  Data base file.
JDS5 Training Guide. On Start Up you will see this screen click the OK button Click OK.
Ⅰ. PS Driver ML-4050N Series PostScript, Driver ML-4050N Series PostScript, Driver.
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.
Today’s Agenda Object Management Library List PDM (Programming Development Manager) SEU (Source Entry Utility)
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
W1L2ops400.ppt1 Lecture 1 OPS400 AS/400 / iSeries / eSeries Mid-Range Operating System OS/400.
Printing. Printing Terminology Logical Printer Physical Printer/Print Device Print Server Locally vs network attached printer Non-remote vs remote printer.
Shipments Training Presentation for Raytheon Supply Chain Platform (RSCP) April 2016.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
1 Customizing Forms and Writing QuickBooks Letters Lesson 15.
Windows customization
Quote It! Overview July 2011 Speak to slide /26/11 1.
Messages, Logs, and Cleanup
Operating System, Licensed Program Products, and PTFs
Chapter 6 Chapter 6 - Summary.
Security and Security System Values
Objects, Libraries, and Library Lists
Lecture 2 REVIEW of concepts security assistance profiles Library list
Chapter 10 Backup and Recovery.
Tutorial Reading in EBSCOhost support.ebsco.com.
Chapter 2: System Structures
OS/400 Command Structure and Control Language
Starting and Stopping the AS/400
Chapter 13 Subsystems.
Tutorial Reading in EBSCOhost support.ebsco.com.
How to Print a Class Roster via Colleague
Epic In Basket.
Operating System Review
When would you use a Qualified Name to find an object?
Creating a Word Document – Part 1
New Perspectives on Windows XP
CHAPTER 17 The Report Writer Module
Spooling Describe spooling, explaining why it is used.
Working on the Windows XP Desktop
Software Updation Start software, it will be displayed following main screen: Click on 'Activate (2017) or [ Go to 'More Services' →'Software Information→
University of Warith AL-Anbiya’a
Wells Fargo Toolkit – CreativeBuilder Reference Guide
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Handling Spooled Files and Printing Functions Chapter 6 Handling Spooled Files and Printing Functions

Understanding AS/400 System Operations AS/400 Printing Overview No program ever sends output directly to printer. Printed output always goes to hard disk storage. Printed output goes to output queue. System program, printer intercept program, delivers content to a printer. This type of printing called spooling. Output waiting to be directed to a printer is known as spooled files. Understanding AS/400 System Operations

Understanding AS/400 System Operations The Printing Process Job produces a report. Printed output (report) goes to output queue. A program later sends the queued report to a printer for printing. Understanding AS/400 System Operations

Two Separate Functions Program-to-Queue. Queue-to-Printer. Understanding AS/400 System Operations

AS/400 Typical Output Queues QPRINT QSYSPRT Understanding AS/400 System Operations

Understanding AS/400 System Operations Printer Writer The printer that prints, is a physical printer. AS/400 sees the logical device, that is the printer writer. Printer writers must be attached to an output queue to print anything. Understanding AS/400 System Operations

Jobs, Queues, and Printer Writers Figure 6-1: Jobs, queues, and printer writers. Understanding AS/400 System Operations

Understanding AS/400 System Operations Printing Commands Output queue commands: Create Output Queue (CRTOUTQ) Delete Output Queue (DLTOUTQ) Change Output Queue (CHGOUTQ) Display Output Queue (DSPOUTQ) Work with Output Queue (WRKOUTQ) Understanding AS/400 System Operations

Understanding AS/400 System Operations Examples WRKOUTQ *ALL WRKOUTQ QPRINT Understanding AS/400 System Operations

All Output Queues Understanding AS/400 System Operations Work with All Output Queues Type options, press Enter. 2=Change 3=Hold 4=Delete 5=Work with 6=Release 8=Description 9=Work with Writers 14=Clear Opt Queue Library Files Writer Status _ QDMT QDMT 0 RLS _ COBOLOUTQ QGPL 0 PRT01 RLS _ CPAOUTQ QGPL 741 RLS _ FACOUTQ QGPL 61 RLS _ OPROUTQ QGPL 0 RLS _ QDKT QGPL 0 RLS _ QPFROUTQ QGPL 0 RLS 2 QPRINT QGPL 62 RLS _ QPRINTS QGPL 0 RLS _ QPRINT2 QGPL 0 RLS _ CPAOUTQ QUSRSYS 0 RLS _ CPQOUTQ QUSRSYS 0 RLS More … Command ===> __________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys Figure 6-2: Samples of the WRKQUTQ *ALL command. This shows all output queues on an AS/400. Understanding AS/400 System Operations

Understanding AS/400 System Operations Change Output Queue   Change Output Queue (CHGOUTQ) Type choices, press Enter. Output queue . . . . . . . . . . > QPRINT Name Library . . . . . . . . . . . > QGPL Name, *LIBL, *CURLIB Maximum spooled file size: Number of pages . . . . . . . *SAME Number, *SAME, *NONE Starting time . . . . . . . . ______ Time Ending time . . . . . . . . . ______ Time + for more values _ Order of files on queue . . . . *SAME *SAME, *JOBNBR, *FIFO Remote system . . . . . . . . . *SAME Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Figure 6-3: Change screen for QPRINT queue. Understanding AS/400 System Operations

Understanding AS/400 System Operations Option5- Work With Work with Output Queue Queue: QPRINT Library: QGPL Status: RLS Type options, press Enter. 1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages 8=Attributes 9=Work with printing status 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 _ 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 ===> __________________________________________________________________ F3=Exit F11=View 2 F12=Cancel F20=Writers F22=Printers F24=More keys Figure 6-4: Option 5 (Work with) shows the contents of an output queue. Understanding AS/400 System Operations

Second View of Queue QPRINT Work with Output Queue Queue: QPRINT Library: QGPL Status: RLS Type options, press Enter. 1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages 8=Attributes 9=Work with printing status Opt File File Nbr Job User Number Date Time 5 QPDZDTALOG 5 QPADEV001J A97001080 150998 03/30/99 19:06:14 _ R1404DSP 1 R1404DSP A97001080 151164 03/30/99 19:09:17 _ R1505 1 R1505 A97001080 151204 03/30/99 19:16:01 _ R1404DSP 1 R1404DSP A97001080 151243 03/30/99 19:22:52 _ R1505 1 R1505 A97001080 151251 03/30/99 19:24:50 _ R1505 1 R1505 A97001080 151260 03/30/99 19:26:21 _ R1404PF 1 R1404PF A82322260 151266 03/30/99 19:26:53 _ R1505DIS 1 R1505DIS A82322260 151270 03/30/99 19:28:39 _ R1505 1 R1505 A82322260 151272 03/30/99 19:28:47 More. . . Parameters for options 1, 2, 3 or command ===> ___________________________________________________________________ F3=Exit F11=View 1 F12=Cancel F20=Writers F22=Printers F24=More keys Figure 6-5: Second view of spooled files in queue QPRINT Understanding AS/400 System Operations

Display Spool File Command Display Spooled File (DSPSPLF) Type choices, press Enter. Spooled file . . . . . . . . . . ___________ Name Job name . . . . . . . . . . . . * Name, * User . . . . . . . . . . . . . _________ Name Number . . . . . . . . . . . . _________ 000000-999999 Spooled file number . . . . . . *ONLY 1-9999, *ONLY, *LAST Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Figure 6-6: Five fields had to be used to qualify this command. Understanding AS/400 System Operations

DSPSPLF Vs. WRKOUTQ Commands Parameters Column Heading DSPSPLF command Matching Parameters in WRKOUTQ command view 2 File Spooled file Job name Job User Number File number Spooled file number Figure 6-7: Work with Output Queue column names match to parameter names. Understanding AS/400 System Operations

Understanding AS/400 System Operations Spool File Commands Command Description CHGSPLFA Change Spool File Attributes CRYSPLF 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 Figure 6-6: Commands that, if not used through the Work with command, require a lot of detail to identify spool files. Understanding AS/400 System Operations

Understanding AS/400 System Operations 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 Figure 6-9: Contents of spooled file. Understanding AS/400 System Operations

Spool File Control Line Commands Action T Takes you to the top of the report (first page). B Takes you to the bottom of the report (last page). xx Puts line xx at the top of the screen. +xx Advances xx lines from the current line. -xx Goes back xx lines from the current line. Pxx Goes to the xx page of the report. P+xx Advances xx pages from the current page. P-xx Goes back xx pages from the current page. Wxx Puts the xx column on the left side of the screen. W+xx Shifts the report to the right xx characters. W-xx Shifts the report to the left xx characters. Figure 6-10: Commands for spool files. Understanding AS/400 System Operations

Change Spooled File Attributes Change Spooled File Attributes (CHGSPLFA) Type choices, press Enter. Spooled file . . . . . . . . . . > QPDZDTALOG Name, *SELECT Job name . . . . . . . . . . . . > QPADEV0004 Name, * User . . . . . . . . . . . . . > A91001170 Name Number . . . . . . . . . . . . > 150687 000000-999999 Spooled file number . . . . . . > 1 1-9999, *ONLY, *LAST Printer . . . . . . . . . . . . *OUTQ Name, *SAME, *OUTQ Print sequence . . . . . . . . . *SAME *SAME, *NEXT Form type . . . . . . . . . . . *STD Form type, *SAME, *STD Copies . . . . . . . . . . . . . 1 1-255, *SAME Restart printing . . . . . . . . *STRPAGE Number,*SAME,*STRPAGE... Additional Parameters Output queue . . . . . . . . . . QPRINT Name, *SAME, *DEV Library . . . . . . . . . . . QGPL Name, *LIBL, *CURLIB File separators . . . . . . . . 0 0-9, *SAME More. . . F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 6-11: Change Spooled File Attributes command – screen 1 Understanding AS/400 System Operations

Change Spooled File Attributes   Change Spooled File Attributes (CHGSPLFA) Type choices, press Enter. Page range to print: Starting page . . . . . . . . 1 Number, *SAME, *ENDPAGE Ending page . . . . . . . . . *END Number, *SAME, *END File becomes available . . . . . *FILEEND *SAME, *JOBEND, *FILEEND... Save file . . . . . . . . . . . *NO *SAME, *NO, *YES Output priority . . . . . . . . 5 1-9, *SAME, *JOB User data . . . . . . . . . . . ' 'User data, *SAME Align page . . . . . . . . . . . *NO *SAME, *NO, *YES Print quality . . . . . . . . . *STD *SAME,*STD,*DEVD,*DRAFT... Form feed . . . . . . . . . . . *DEVD *SAME,*DEVD,*CONT,*CUT... Source drawer . . . . . . . . . 1 1-255, *SAME, *E1, *FORMDF Print fidelity . . . . . . . . . *CONTENT *SAME, *ABSOLUTE, *CONTENT Print on both sides . . . . . . *NO *SAME,*NO,*YES,*TUMBLE... Pages per side . . . . . . . . . 1 1-4, *SAME Form definition . . . . . . . . *NONE Name,*SAME,*NONE,*DEVD... Library . . . . . . . . . . . ____ Name, *LIBL, *CURLIB More. . . F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 6-12: Change Spooled File Attributes command – screen 2. Understanding AS/400 System Operations

Change Spooled File Attributes Change Spooled File Attributes (CHGSPLFA) Type choices, press Enter. Front side overlay: Overlay . . . . . . . . . . . *NONE Name, *NONE, *SAME Library . . . . . . . . . . ______ Name, *LIBL, *CURLIB Offset down . . . . . . . . . _________ 0.00-57.79, *SAME Offset across . . . . . . . . _________ 0.00-57.79, *SAME Back side overlay: Overlay . . . . . . . . . . . *FRONTOVL Name,*FRONTOVL,*NONE,*SAME User defined option . . . . . . *NONE Option, *SAME, *NONE + for more values _ User defined object: Object . . . . . . . . . . . . *NONE Name, *NONE, *SAME Library . . . . . . . . . . ________ Name, *LIBL, *CURLIB Object type . . . . . . . . . __________ *DTAARA, *DTAQ, *FILE... Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Figure 6-12: Change Spooled File Attributes command – screen 3. Understanding AS/400 System Operations

Multiple Command Changes Work with Output Queue Queue: QPRINT Library: QGPL Status: RLS Type options, press Enter. 1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages 8=Attributes 9=Work with printing status 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 _ 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 Figure 6-14: Multiple changes in one operation from a Work with … menu. Understanding AS/400 System Operations

Printer Writer Commands Create Device Print (CRTDEVPRT) Automatic configuration System Value QAUTOCFG Display System Value (DSPSYSVAL) Change System Value (CHGSYSVAL) Work with Writers (WRKWTR) Start Printer Writer (STRPRTWTR) End Printer Writer (ENDPRTWTR) Hold Printer Writer (HLDPRTWTR) Release Printer Writer (RLSPRTWTR) Understanding AS/400 System Operations

Start Printer Writer Command Start Printer Writer (STRPRTWTR) Type choices, press Enter. Printer . . . . . . . . . . . . PRT01 Name, *ALL, *SYSVAL Output queue . . . . . . . . . . QPRINT Name, *DEV Library . . . . . . . . . . . ______ Name, *LIBL, *CURLIB Queue for writer messages . . . *DEVD Name, *DEVD, *REQUESTER Form type options: Form type . . . . . . . . . . *ALL Form type, *ALL, *STD, *FORMS Message option . . . . . . . . *INQMSG *INQMSG, *MSG, *NOMSG... File separators . . . . . . . . *FILE 0-9, *FILE Drawer for separators . . . . . *DEVD 1-255, *DEVD, *FILE Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Figure 6-15: Prompted version of the Start Printer Writer command. Understanding AS/400 System Operations

Selective Page Printing Change Spooled File Attributes (CHGSPLFA) Type choices, press Enter. Spooled file . . . . . . . . . . > STDCRSPF Name, *SELECT Job name . . . . . . . . . . . . > STDCRSPF Name, * User . . . . . . . . . . . . . > A91001170 Name Number . . . . . . . . . . . . > 149683 000000-999999 Spooled file number . . . . . . > 1 1-9999, *ONLY, *LAST Printer . . . . . . . . . . . . *OUTQ Name, *SAME, *OUTQ Print sequence . . . . . . . . . *SAME *SAME, *NEXT Form type . . . . . . . . . . . *STD Form type, *SAME, *STD Copies . . . . . . . . . . . . . 1 1-255, *SAME Restart printing . . . . . . . . 501 Number, *SAME, *STRPAGE... Additional Parameters Output queue . . . . . . . . . . QPRINT Name, *SAME, *DEV Library . . . . . . . . . . . QGPL Name, *LIBL, *CURLIB Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Figure 6-16: Example to change a spool file to cause it to start printing on Page 501. Understanding AS/400 System Operations