Externally def. is needed for the Bar code.
What role would the "F" for FETCH play on that Externally Described PRTF if any?
--- On Tue, 5/20/08, Willie J. Moore <WJMoore@xxxxxxxxxxxx> wrote:
From: Willie J. Moore <WJMoore@xxxxxxxxxxxx>
Subject: RE: Converting O specs to PRTF
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Date: Tuesday, May 20, 2008, 6:49 PM
This is using the RPG cycle. So it starts at the top of the 'REPORT' and
check each step to see if it needs to print.
Even if you convert it, you will still need to check/set the indicators on/off
in your program.
If you are changing the RPG code to LE, it is the best time to change to the
WRITE option for printing.
You could just use the CVTRPGSRC command and convert to LE and be done with it,
unless you must have the print file externally defined.
William...
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Adam West
Sent: Tuesday, May 20, 2008 10:53 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Converting O specs to PRTF
THis is sone legacy code to make over to a PRTF. It doesn't use the
Except. I guess it is based on those indicators, then it prints if *IN50
is on and *95 is off ?
How would I convert this puppy?
OREPORT D 105 50N95
O* 88 40 'SERVICE CTR'
O N47 31 'SERVICE INC.'
O 55N47 31 'DESIGN INC. '
O 47 XADR1 30
--
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,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
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,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.