Home > Ask the AS/400 Experts > Questions & Answers > Pulling the spooled files to a PC
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Pulling the spooled files to a PC

John Brandt EXPERT RESPONSE FROM: John Brandt

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


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


>
QUESTION POSED ON: 07 August 2001

We print backups of some spooled files for emergencies where the AS/400 will not be available. Instead of printing (and wasting) backups, we would like to pull the spooled files to a PC and if needed then we can print them on the PC printer (LaserJet 4000 TN). When we pull the spooled files to the PC as a text file and try to print the files the page breaks are not right. Is there a way to change the spooled file so that the page breaks are correct?


>
EXPERT RESPONSE

You will have to modify your process to copy the spooled file to a database file using CPYSPLF CTLCHAR(*PRTCTL). This will place four characters in front of every record. The first three characters are the line number to print, and the next line is the skip entry. This is a skip before printing value. You can then convert the database file to a text file and add in the lines or printer control characters to skip to the correct lines. There is more information in the CL Reference and in most of the language books. If you need a link to the Information Center or the Online Library, you can find them here.


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


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



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

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

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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