Send the DATA step output to the open destinations, specify a label for the output object, and specify the variables to write to the data component and the order in which to write them. The combination of the fileref PRINT and the ODS option in the FILE statement sends the results of the DATA step to ODS. The LISTING, the HTML, and the PRINTER destinations are open. Because no table definition is specified, ODS uses the default DATA step definition.


   file print ods= (objectlabel='1996 Grain Production'
           variables=(country
                      type(label='Type of Grain')
                      kilotons(format=comma12.))
      );