×
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 I remember my Cobol programming (bear with me) from a few decades ago, we didn't have an overflow indicator so we had to count the lines and condition our own report headings. I have done this same thing in an ILE RPG program (though it probably can be done in III) for an invoice form. In ILE RPG there is a PRTCTL keyword that can be specified on the printer's File spec. that contains the current line number; don't have a III manual handy so I don't know if it has something similar.
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve Roper
Sent: Friday, February 20, 2009 8:08 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Line number in print file
HI
Does anyone know where the current line number is stored in
an rpgIII program so
That the program knows when to seton the overflow indicator
of my choice.
I need this so I can read ahead the number of lines
available so I can turn on the
Overflow indicator myself, so that my next group of related
text lines all stay on the
same page
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.