Thank you both! That worked perfectly!
Record length is 102 while the field length is 160
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Greg Wilburn
Sent: Wednesday, May 27, 2020 12:04 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] AFP print file
I didn't try that... I use both RLU and SEU... SEU for the AFPDS (logos, boxes, lines, etc.)
I will give that a try.
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Wednesday, May 27, 2020 11:48 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [EXTERNAL] AFP print file
Jim Franz wrote:
Are you getting a compiler or a RLU edit error?
I don't use RLU - just SEU - and have many printer files with variable
fonts, with field lengths more than the record length, is type is *AFPDS.
I concur with Mr. Franz on this. While I use SDA with some regularity
when working on display files, I always hand-code print files, and don't
even know *how* to use RLU. (Then again, when I do an AFP print file,
it's for PDF generation, and after hand-generating a width table in
order to calculate horizontal shrink factors on the fly, merely
hand-coding a print file is a piece of cake.)
And even though I regularly have to use the aformentioned shrink-factor
calculation in order to guarantee that a long field will fit in the
space allocated for it, I've never encountered any complaints about
field length.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.