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


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


The DEFINE HEADER statement creates the header template Bar.


The TEXT statement specifies the text "Order Date" 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 OrderDate;
         dataname=Order_Date;
         define header bar;
            text "Order Date";
         end;
         header=bar;
      end;