In my spool file there are different record formats. Each record format corresponds to each file data. Now I want to show the data from each file inside a box. If there are 5 files & each files has x records each, then I want to show 5 boxes and each box hold x records. I read about box keyword. But how to populate the co-ordinates of that? Is there a way to dynamically fetch the co-ordinates values?
Software/Hardware used:
AS400
ASKED:
September 26, 2012 1:19 PM
UPDATED:
September 26, 2012 2:13 PM
Does “x” change each time so the box has to change? — Tom
Yes.. Number of records each file can have varies and box has to change accordingly.
The BOX() keyword allows program-to-system fields to set the coordinates of the corners. You will have to do the programming to determine how far down a page the bottom corners are going to be based on how many rows of print you will have in each box. I don’t know if there’s any way to have a box start on one page and end on a different page. — Tom
And do a quick test to make certain that the target printer will print the BOX.