Thursday, 1 October 2015

Tips and Techniques

Using the COLUMNS=Option with ODS RTF and PDF Destinations

In SAS 9, you can use the COLUMNS= option with ODS RTF and PDF destinations to split output across a specified number of columns.  This is particularly useful when you are generating lengthy output that consists of only a few columns, as shown in the following example:

ods listing close;
ods rtf file='cars1.rtf' columns=2;

title 'Prices of different makes of car';

proc print data=sashelp.cars;
  var make model invoice;

run;

ods rtf close;
ods listing;








No comments:

Post a Comment