Hello Adam,

You could copy the spool file to a PF and then write an RPG program to
re-arrange and re-spool the pages.

If you are open to a commercial solution for this, our AS/400 Report
Splitter product can copy, re-arrange and filter selected report
segments and generate a new spooled report.

Check out our web site for more info or feel free to contact me

Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

-----Original Message-----

message: 1
date: Sat, 9 Aug 2008 19:39:32 -0700 (PDT)
from: Adam West <adamster@xxxxxxxxx>
subject: e-Arranging a spool file

HI I have a report that is printing by Invoice number. It is used as a
kind of picking/packing sheet by the warehouse. What they would like
would be to print the report by Model number for efficiency.
?Since this is an old cycle RPG report I am hesitant to change the
structure of the program. I would rather look at the spool file and get
the model number and redo the order.
? I was wondering if this is an easy task to do.
The other option I guess would be to add a work file to the program and
as a separate report print the recap of what is needed to be picked. But
I think? they would prefer not to be cluttered with yet another stack of

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].