Home > AS/400 Tips > > Know where your spooled files are going
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Know where your spooled files are going


Nico Beekhuijs
02.25.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Does this scenario sound familiar? A user is printing reports but they come out of the wrong printer. Where do you change the printout to print on the right printer? Is it in the program? In the user profile? In the printer file? There are many places where a spooled file can be directed to a printer: printer file, job description, user profile, device description, system value, and then there are those nice printer overrides that can be very convenient, but could just as easily add to the confusion.

Welcome to the wonderful world of spooling! If the final destination of a report has to be changed, the first thing you have to know is the name of the report (the 'FILE' name how it appears in your spooled files) this is usually the name of the printer file used to create the report.

You could specify the out queue right there, but this would mean that this report would always be sent to that queue -- for every user. This could be just fine for some spooled files (i.e. invoices to be send out can be printed on the invoice printer that is filled with special paper.)

You can also use job descriptions to send the spooled files to the correct out queue (i.e. all prints requested in the test environment could be send to a test queue that has no printer attached. Most reports would have to be printed on different printers based on the user who requested the printout (i.e. department printers.) Another option is to print based on the workstation (i.e. prints requested by any user working on the computer at the loading dock.)

We have four areas that we steer the spooled file to: PRTF, JOBD, USRPRF, and DEVD. If that is not enough for you, these four areas all have two values that can control your spooling: out queue name and printer device. Sounds complicated but it's not really that bad. Look at the graphical flow of the spooled file here.

Simply follow the arrows and you will end up on some out queue or printer. The red values are the defaults when creating the various objects.

Note: If all objects have been created with default values for the out queue and the printer, you will end up in the printer specified in the system value QPRTDEV.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your systems management questions fast.

Read this Search400.com Featured Topic: Take control of your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries Systems Management
Transfer files from one environment to another without closing all other AS/400 sessions
Send a *LMSG successfully on AS/400 using the SNDDST command
Extend storage capacity on an IBM i without negatively effecting system performance
Configure the iSeries v5r4 to open the HTTPS port for incoming connections
Changing system CCSID
Changing user password expiration
Detecting system changes made by outside IP address
HIPER PTF installation and cover letters for SF99097
Library QUSRSYS not completely installed
SQL statement history storage

Printing on iSeries
Bundling multiple one-page reports from IBM i into single document
Printing from the iSeries
How to print RPG output using iSeries Access
Acknowledging control characters in a print file on IBM i without writing a program
Direct default print job to tray 2 from IBM i
Set up a HP Deskjet 6988 with a built-in internal NIC as a stand-alone printer
Solve printing problems when using Personal Communications 5.7
Determine printing options available for preprinted medical forms
Messages and spool hanging up SAVLIB jobs when OUTPUT(*PRINT) is specified
Using AFPRSC to print .jpg or .pdf files from the IFS on AS/400
Printing on iSeries Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Advanced Function Printing  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts