|
So, your saying that because I have no overflow indicator or no error handling, that I will always get this error when I print on the overflow line? I guess I didn't know that you had to have that indicator there even if you aren't going to use it. The doc. states that it will set on the overflow indicator when overflow is reached, but I don't recall seeing it say that if you don't have anything available for the program to "turn on" (an indicator), then the program will bomb. That is interesting. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai Sent: Wednesday, May 03, 2006 5:01 PM To: RPG programming on the AS400 / iSeries Subject: RE: Printer File Overflow... Yes. You can print on the overflow line but it will generate error to tell your program that you have reach the overflow line. Example: - If your page size length is 68 and your overflow line is 64. You can print up to 68. However, you will start to receive overflow error on line 64. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dane Cox Sent: Wednesday, May 03, 2006 4:55 PM To: RPG programming on the AS400 / iSeries Subject: RE: Printer File Overflow... I actually think this is the real question? I thought the documentation said you can print on the overflow line, but maybe I not reading it right? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai Sent: Wednesday, May 03, 2006 4:13 PM To: RPG programming on the AS400 / iSeries Subject: RE: Printer File Overflow... If the overflow line if 66 and you are writing the line 66. The error should occur, shouldn't it? To stop this error, simply do: write(e), specify the overflow indicator in F spec or change the overflow line to 67. -- 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 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.