That is perfect, thank you.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Reggie Acosta - El
Monte
Sent: Wednesday, August 23, 2006 7:59 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: RPG/400 External Printer Files - PRTCTL equivalent

I don't know of a DDS keyword that does what you describe.

However, you can specify an INFDS for the external printer file in your
RPG and define the data structure as follows (in ILE RPG):

     fExtPrtF        e             printer OFLIND(Overflow) 
     f                                     INFDS( prtfInfDs )

     d Overflow        s               n

     d prtInfDs        ds                  
     d   OvrFlw              188    189i 0                
     d   CurLin              367    368i 0                

OvrFlw is the overflow line and CurLin is the current line.
 





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.