7.21 DEF_BREAK
The DEF_BREAK command is used to define one or more break lines for inclusion on a report.
Only fields of type Alpha, Packed, and Signed may be specified. RDMLX field types cannot be specified.
Break lines are only printed when the condition specified in the TRIGGER_BY parameter is true. Break lines are primarily intended to produce level or control "break" lines in a report.
You should read Producing Reports Using LANSA in the Developers Guide before attempting to use the DEF_BREAK command.
Also See
7.21.2 DEF_BREAK Comments / Warnings
Required
DEF_BREAK ---- NAME --------- name of break group ------------>
----------------------------------------------------------------------
Optional
>-- FIELDS ------- field name field attributes -------->
| | | |
| --- 7 max ---- |
| expandable group expression |
------ 100 max --------------
>-- TRIGGER_BY –-- *DEFAULT --------------------------->
list of field names
| expandable group expression |
---------20 max ------------
>-- TYPE ---------- *TRAILING -------------------------->
*LEADING
>-- SPACE_BEF ---- 2 ------------------------------------>
decimal value
>-- SPACE_AFT ---- 1 ------------------------------------->
decimal value
>-- TEXT --------- 'text' ----- line/ ----- position -------->
| row column |
-------------- 50 max ---------------
*TMAPnnn 1 1 (special value)
>-- FOR_REPORT -- 1 ------------------------------------>
report number 1 -> 8
>-- DESIGN ------ *ACROSS ----------------------------->
*DOWN
>-- IDENTIFY ----- *LABEL -------------------------------->
*COLHDG
*NOID
>-- DOWN_SEP --- 1 -------------------------------------->
decimal value
>-- ACROSS_SEP - 1 --------------------------------------->
decimal value
>-- HEAD_COND - *NONE -------------------------------->
name of condition
>-- SUBROUTINE - *NONE --------------------------------|
name of subroutine