Create the column template SaleType. The DEFINE COLUMN statement creates the column template SaleType.


The DATANAME= column attribute specifies the name of the column template SaleType in the data component to associate with the column template SaleType.


The DEFINE HEADER statement creates the header template Bar.


The TEXT statement specifies the text "Sale Type" to use in the header.


The first END statement ends the header template.


The HEADER statement declares Bar as the header in the table.


The second END statement ends the column template.


      define column SaleType;
         dataname=Sale_Type;
         define header bar;
            text "Sale Type";
         end;
         header=bar;
      end;