× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Is the program that is using *INOF 'manually' setting it on based on line count or something instead of it turning on 'automatically' on overflow. I would think that would make it show up in the compile listing since it is being used. Any other indicator could have been used instead as it isn't really an overflow indicator at this point.

Scott

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bradley Stone
Sent: Thursday, July 17, 2014 2:53 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Overflow and INOF with Externam Printer file

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 and INOF doesn't show up in the compile listing.

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> wrote:

*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 the program. Even if there is no printer file.

If you want *INOF set on by overflow in an external printer file then
you 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. :)

Brad



--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin

I maintain there is much more wonder in science than in pseudoscience.
And in addition, to whatever measure this term has any meaning,
science has the additional virtue, and it is not an inconsiderable
one, of being true. -- Carl Sagan, The Burden Of Skepticism, The
Skeptical Inquirer, Vol. 12, Fall
87

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


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

Replies:

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

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.