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

The *INOx (letter O) indicators are for program-described printer files. For an externally-defined printer file, you can either use a numeric indicator, or (IMHO, better) a 'named' indicator.

So for program-desccribed, you would do OFLIND(*INOF) or (*INOA, *INOB, etc)

For externally defined, you would do OFLIND(*IN01-*IN99) or OFLIND(MyOverFlow) (where MyOverFlow is defined on D-specs as an 'N' type field.)

-SK



On 7/17/2014 9:10 AM, Bradley Stone wrote:
(moved from Midrange-L)

I'm having a major brain malfunction this morning. :)

I haven't created a Printer File from scratch for years but now I have to.
I created it, added an F spec to my RPG program, declared it as:

FMYPRTFILE O E PRINTER

I'm seeing that *INOF isn't being declared at compile time like I assumed
it would. I know I'm missing something from somewhere to make that happen.
:)

OFLIND(*INOF) doesn't work either.

"The parameter for keyword OFLIND is not valid; keyword is ignored."

When using OFLIND you have to specify *IN01-*IN99 and manually reset it to
off as well.

All other programs I've done with external printer files don't have OFLIND
either. INOF magically appears during compile.

This is on V6R1 as well. TIA!

Brad



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.