Create the table element Table_Header_2. The DEFINE statement and its substatement and attribute define Table_Header_2. The TEXT statement uses text and the macro variables First_Year and Last_Year to specify the contents of the header. When ODS binds the data component to the table template (in the DATA step that follows), it will resolve the values of the macro variables First_Year and Last_Year. The table template itself contains references to the macro variables.
The SPACE= attribute inserts a blank line after the header (in the listing output only).
The END statement ends the header template.
define table_header_2; text "from " first_year " to " last_year; space=1; end;