Create the column template Class. The DEFINE statement and its attributes create the column template Class. (The COLUMN statement earlier in the program declared Class as a column.)


GENERIC= specifies that multiple variables can use the same column template. GENERIC= is not specific to a destination.


ID= specifies that this column should be repeated on every data panel if the report uses multiple data panels. ID= affects only the listing output.


VJUST= specifies that the text appear at the top of the HTML table cell that it is in. VJUST= affects only the HTML output.


STYLE= specifies that the column uses the DATA table element. This table element is defined in the default style, which is the style that is being used. STYLE= affects only the HTML output.


The END statement ends the template.


Notice that, unlike subsequent column templates, this column template does not include a header. This is because the same header is not appropriate for all the variables that use this column template. Because there is no header specified here or in the FILE statement, the header comes from the label that was assigned to the variable in the DATA step.


   define class;
      generic=on;
      id=on;
      vjust=top;
      style=data;
   end;