On 7/17/2014 12:10 PM, 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.

I don't recall that happening. All of my external printer files have
OFLIND(*IN99) and I use 99 where I would use OF. Yes, I set 99 off when
I WRITE HPRTHDR.
--buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.