Example of Specifying Fetch Overflow

Figure 187 shows the use of fetch overflow.

Figure 187. Use of Fetch Overflow
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... *
OFilename++DF..N01N02N03Excnam++++B++A++Sb+Sa+.............................
OPRINTER   H    OA                     3 05
O..............N01N02N03Field+++++++++YB.End++PConstant/editword/DTformat++
O                                           15 'EMPLOYEE TOTAL'
O          TF   L1                     1
O                       EMPLTOT             25
O          T    L1                     1
O                       EMPLTOT             35
O          T    L1                     1
O                       EMPLTOT             45
O          TF   L1                     1
O                       EMPLTOT             55
O          T    L1                     1
O                       EMPLTOT             65
O          T    L1                     1
O                       EMPLTOT             75
O          T    L1                     1
O*

The total lines with an F coded in position 18 can fetch the overflow routine. They only do so if overflow is sensed prior to the printing of one of these lines. Before fetch overflow is processed, a check is made to determine whether the overflow indicator is on. If it is on, the overflow routine is fetched, the heading line conditioned by the overflow indicator is printed, and the total operations are processed.



[ Top of Page | Previous Page | Next Page | Contents | Index ]