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



The printer file has a page length of 66 and an overflow of 66. When I run the report to generate the report, I get the dreaded "I/O error CPF5004 was detected in file..." overflow error.

You need to define an overflow indicator with the OFLIND keyword on your F-spec for the printer file.

Normally, the operating system automatically detects page overflow and reports it to the application so that application can do some special processing. That's what the indicator is for... when you reach overflow, this indicator is turned on.

If you don't put an OFLIND on your F-spec, then instead of setting an indicator, it sends an *ESCAPE message to your program -- which is what you're experiencing.



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.