Depends on the prograsmme logic of the old PGM (does it has a CLP-wrapper?,
for instance)

I fthere is a CLP involved, copy the CLP and RPG sources. Add a simple
OPNQRYF over the file with first keyfield Model number.

In the RPG, which can be using the Cycle, set the first level break on
Model number.

Perhaps worth a try.

With regards,
Carel Teijgeler

*********** REPLY SEPARATOR ***********

On 9-8-2008 at 19:39 Adam West wrote:

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 is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

No virus found in this incoming message.
Checked by AVG.
Version: 8.0.101 / Virus Database: 270.6.0/1602 - Release Date: 9-8-2008

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 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].