1,150 pts.
 Overflow
RPG
How to control overflow in RPG without using indicators. Is it possible?

Software/Hardware used:
ASKED: December 25, 2008  8:47 AM
UPDATED: December 29, 2008  3:18 PM

Answer Wiki:
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  kevleemor   605 pts.
All Answer Wiki Contributors:  kevleemor   605 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 44,090 pts.