|
The few I've looked at recently all have the program counting lines or
checking the INFDS for current line vs overflow.
From the "System i Programming DDS for printer files".....
"For externally defined files, RPG cannot control page overflow"
Date: Thu, 17 Jul 2014 15:52:58 -0500and
Subject: Re: Overflow and INOF with Externam Printer file
From: bvstone@xxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Booth,
Ya, we've already been over that.
FFD001P1 O E PRINTER OFLIND(*INOF) USROPN
Doesn't work. It won't let you use *INOF on the F spec of an externally
described printer file.
All I know is I have one program that has:
FFD001P1 O E PRINTER USROPN
And INOF shows up in the compile listing and it works fine as it should.
I create a program with just that F spec, turn on LR as the only c spec
INOF doesn't show up in the compile listing.wrote:
I know it's something simple, and so obvious and I'm going to wake up in
the middle of the night screaming AHA! at one point. lol..
Brad
On Thu, Jul 17, 2014 at 3:03 PM, Booth Martin <booth@xxxxxxxxxxxx>
the
*INOF is a named indicator, just like *INLR or *IN99 and can be set on
and off in an RPG program, and used just like any other indicator by
youprogram. Even if there is no printer file.
If you want *INOF set on by overflow in an external printer file then
:)want an F-spec like this:
FFD001P1 O E PRINTER OFLIND(*INOF) USROPN
I have not tested that, so be careful. I do, from time to time, make
mistakes.
On 7/17/2014 2:27 PM, Bradley Stone wrote:
Thanks Jeff.
Yes, that makes sense. But I have a few programs than have externally
described Printer files and Use *INOF. I just can't figure out how.
And
Brad
--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin
I maintain there is much more wonder in science than in pseudoscience.
has thein addition, to whatever measure this term has any meaning, science
--additional virtue, and it is not an inconsiderable one, of being true.
FallCarl Sagan, The Burden Of Skepticism, The Skeptical Inquirer, Vol. 12,
(RPG400-L)87
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing listmailing 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 IBM i (AS/400 and iSeries) (RPG400-L)
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 IBM i (AS/400 and 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.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.