Route the DATA step results to ODS and use the Shared.CellStyle table template. The combination of the fileref PRINT and the ODS option in the FILE statement routes the results of the DATA step to ODS. (For more information on using the DATA step with ODS, see Output Delivery System and the DATA Step.) The TEMPLATE= suboption tells ODS to use the table template named Shared.CellStyle, which was previously created with PROC TEMPLATE.


   file print ods=(
        template="shared.cellstyle"