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



Brad,
I *think* (try not to do that too often :) ) you can still manually set
*INOF on or off in your program, just that if the print file is externally
defined, you can not associate *INOF with it.

Jeff Young
Sr. Programmer Analyst


On Thu, Jul 17, 2014 at 3:27 PM, Bradley Stone <bvstone@xxxxxxxxx> 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


On Thu, Jul 17, 2014 at 1:52 PM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:

Brad,
As someone else explained, the *INOF indicator is only used for Program
Described print files.
If you do not define an overflow indicator on the "F" spec, it defaults
to
*INOF.

For External Print files, you must use either *IN01 - *IN99 or a Named
Indicator with the OFLIND keyword.


Jeff Young
Sr. Programmer Analyst


On Thu, Jul 17, 2014 at 2:25 PM, Bradley Stone <bvstone@xxxxxxxxx>
wrote:

Yes I've checked everything I can think of. :)

If *INOF was somehow defined in the printer file, where would that be?


On Thu, Jul 17, 2014 at 1:13 PM, Booth Martin <booth@xxxxxxxxxxxx>
wrote:

This is sounding like a library list issue. Are you sure that the
compiler is finding the external printer file You think it is
finding?
Have you looked at the external printer file to see what is in it?
That
may be quite revealing for you.



On 7/17/2014 12:26 PM, Bradley Stone wrote:

I must be going crazy... here's an example that works:
FFD001P1 O E PRINTER USROPN

Then in the compile listing, I search for *INOF and low and behold
it
magically appears:

Global Field References:
Field Attributes References (D=Defined
M=Modified)
*INOF N(1) 344 372

The two references for it are IF statements (ie, IF *INOF print
headings...)

I asked a guy I used to work with years ago and he said "I don't
know...
it
just works in all our programs too!"
I know there's something. But years of copying code is making it
slip
by
my mind how to get that darned thing to appear. And now it's not
that I
have to do it, it's that it's driving me crazy as to why it doesn't
work.

I don't see anything in the DDS for the printer file either that
references
INOF.

Brad


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

Make it possible for programmers to write in English and you will
find
the
programmers cannot write in English.

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


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

Follow-Ups:
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.