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



If the highest line # is 66, adding the heading that gives you 67.  ==>
Overflow.

By changing the highest line # to 64, adding heading would gives you 65,
which will print just fine on overflow setting of 66.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dane Cox
Sent: Wednesday, May 03, 2006 2:45 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Printer File Overflow...

I didn't word this very well...

To further clarify, I should have said that when writing to the physical
file, I simply indicate the line number in a field.  Then when the
report program reads the file it checks for line 1 to start a new page.
But, in all cases, the highest line number in the file is 66.  So, in
this case no overflow checking "should" be necessary if everything is
set at 66.  In order to prevent the error from occurring I have to limit
my highest line number in the file to 64.  That strikes me as odd.

--
This is the RPG programming on the AS400 / 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 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.