The DEFINE statement and its attributes create the column definition class. (The COLUMN statement earlier in the program declared class as a column.) GENERIC= specifies that multiple variables can use the same column definition. ID= specifies that this column should be repeated on every data panel if the report uses multiple data panels. VJUST= specifies that the text appear at the top of the HTML table cell that it is in. STYLE= specifies that the column uses the DATA table element. This table element is defined in the default style definition, which is the style definition that is being used.VJUST= and STYLE= affect only the HTML output. ID= affects only the Listing output. GENERIC= is not specific to a destination. The END statement ends the definition.

Notice that, unlike subsequent column definitions, this column definition does not include a header. This is because the same header is not appropriate for all the variables that use this column definition. 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;