The best way to control printer output is through the use of dynamic print control as described in the ILE RPG Language Reference http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc092508.pdf on Page 285
Last Wiki Answer Submitted: December 25, 2008 8:00 pm by kevleemor605 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
PRTCTL data structure refered to above will contain the current line number
INFDS will also contain the line number B 367-368, the overflow line number B188-189
You can specify the Overflow indicator (the OFLIND keyword on the file description specifications). — for printer files you cannot use *INOF but you can use a numbered indicator (ie: *IN33 ) by adding OFLINE(*IN33) to the f spec.
Is this a religious constraint?
PRTCTL data structure refered to above will contain the current line number
INFDS will also contain the line number B 367-368, the overflow line number B188-189
You can specify the Overflow indicator (the OFLIND keyword on the file description specifications). — for printer files you cannot use *INOF but you can use a numbered indicator (ie: *IN33 ) by adding OFLINE(*IN33) to the f spec.
Phil