Hi Steve,

How about this?




FXXX000T1 O E PRINTER OFLIND(*IN61)
F INFDS(PRTF1)
*
DPRTF1 DS
D ZAFILE *FILE
D CUR_LINE 367 368I 0
D CUR_PAGE 369 372I 0





Thanx,

Nick



Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx



"Steve Roper" <ste.roper@xxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
02/20/2009 08:26 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
<rpg400-l@xxxxxxxxxxxx>
cc

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

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.