Create the ColsHeader header template. The DEFINE HEADER statement creates the header ColsHeader. ColsHeader is specified as a column header by the preceding COLS_HEADER= style attribute. The TEXT statements specify the text of the header by using dynamic variables that represent label variables and names. The first TEXT statement uses an expression to determine if a label is assigned to the column variable. If there is no label, the next TEXT statement, which specifies the row name, will be used. In this example there is a column label, so in the output, _COL_LABEL_ resolves to "Number of Meetings Scheduled".
The STYLE= attribute specifies style information for the header, and the SPACE attribute specifies that the current header and the previous header should have one blank line between them.
define header ColsHeader; text _COL_LABEL_ / _COL_LABEL_ ^= ''; text _COL_NAME_; style=header {backgroundcolor=#BFCFFF color=#6078bf fontstyle=italic}; space=1; end;