/* Putting output into .pdf format using ODS statement; */ *Put the ODS PDF statement at the beginning and everything else after will be also written to a .pdf file; ods pdf file= "c:\test.pdf"; options orientation=landscape; data mydata; input OBS Y VAR1 VAR2 VAR3; cards; 1 1 10 33 4 2 0 20 21 3 3 1 30 59 2 4 1 20 76 1 5 2 . 24 3 6 0 20 22 2 7 1 10 28 2 8 1 10 49 2 9 0 30 76 2 10 2 20 59 2 ; Title OUTPUT DIRECTED TO .PDF FILE THROUGH ODS COMMAND; proc print data=mydata;run; ods pdf close;