Newsletters Subscriptions Forums Media Kit About Us Contact Search Home

mgo
OS/400 Edition
Volume 3, Number 76 -- November 12, 2003

Get with the Times


Hey, Ted:

It's true that there are many ways to skin a cat, but some are more modern than others. I would like to share a more modern way to view spool files than the ones that were mentioned in Midrange Guru.

If you use the GUI version of WRKSPLF provided with Client Access, and the AFP spool file viewer it uses, you can see not only underlined fields but also blank lines, highlights (bold), overlays, and pagination, and get a full-page view of your output. It's much better than using a green screen, and it looks like a printed page (black on white, not green on black). It opens a separate window for viewing spool files, which you can keep open all day and refresh with F5. You can also open more than one spool file and size the window for side-by-side comparisons of output. Check out the menus, especially Options/Include. . . , where you can select spool files by attributes like user and output queue.

To use the GUI WRKSPLF, run the following commands from a command line or a CL program:

STRPCO
STRPCCMD 'wrksplf.exe <your-system-name>' 

The first command starts the PC Organizer, which is necessary to run PC commands from the AS/400. This needs to be done only once per session. The second command runs the GUI WRKSPLF command on the PC. Replace the following with your system's name:

<your-system-name> 

I've been using this GUI version of WRKSPLF for two years now and wouldn't look at the green-screen version at all, except for one problem: I've never been able to get the search function to work consistently. It works sometimes, but if the file is large, it doesn't seem to find strings after the first page. (If anyone knows what I'm doing wrong, please let me know!) But for reading the output, it beats green screen, hands down. Add this to your users' menus, and you will probably earn some brownie points.

--John


Thanks for the tip, John. I agree with everything you say. However, I try to make Guru practical and useful, and the fact is, a lot of people don't have Operations Navigator and other new stuff. Suppose a guy gets a call at home at 10:30 p.m. The folks at the office are trying to get the month closed, and two reports don't jibe with each another. He has some emulation software at home, but no printer support. Maybe he didn't have room on the hard drive and is just using Telnet. Maybe the tip saves him a trip to the office. The tip we published was written with that sort of situation in mind.

But you are right that more modern methods are better, and I appreciate your sharing this information with your fellow Midrange Guru readers. Thanks to your making it so easy, I suspect a lot of readers will put this tip to work quickly.

--Ted


Sponsored By
INFORM DECISIONS

ELIMINATE THE COSTS OF PRE-PRINTED FORMS,
LABOR AND POSTAGE WITH inFORM Decisions iDocs™ 'Suite'

iSeries based e-Forms, e-Checks, e-Mail, e-FAX, and Document Retrieval
from the Web are available as individual modules or as a
complete e-Document processing 'Suite'.

Click to Download the Complete Suite or Individual Modules today
www.inFORMDecisions.com
or call (800) 858-5544



THIS ISSUE
SPONSORED BY:

Advanced Systems Concepts
inFORM Decisions


BACK ISSUES

TABLE OF
CONTENTS

Returning a Pointer to a Data Structure from a Function

Get with the Times

Reader Feedback and Insights: Reader Prefers DDS



Editors
Howard Arner
Joe Hertvik
Ted Holt
David Morris

Managing Editor
Shannon Pastore

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.