Page History
When using the report design facility 2 special values appear on the command selection screen. These are called the "cycle" value and the "repeat" value.
The "cycle" value appears once in the upper right of the screen and is usually pre-filled to 1. The value specified here indicates the total number of report "cycles" that are to be emulated by the screen design facility when building an image of the report commands.
The "repeat" value appears in the column headed "Rpt" in the lower half of the screen (for DEF_LINE commands only) and is usually pre-filled to 1. The value specified here indicates the number of times the image should be repeated by the screen design facility when building an image of the DEF_LINE command.
Both values are used to enhance the report image that is built by the screen design facility. The way these values are used is best demonstrated by example.
Consider a report that is defined by the following 3 commands:
| No Format | ||
|---|---|---|
| ||
DEF_HEAD NAME(#HEADING) FIELDS(#COMPANY) |
...
...
DEF_LINE NAME(#DIVSALES) FIELDS(#DIVNAM #PRODNO |
...
#PRODES #QUANTITY) |
...
...
DEF_BREAK NAME(#DIVTOTAL) FIELDS(#DIVQTY) TRIGGER_BY(#DIVNAM) |
If all lines were selected for display by the report design facility and the default of 1 used for the "cycle" and "repeat" values the image might look something like this:
______________________________________________________________
/ \
...