Pages

Thursday, March 6, 2014

Widgets

How to create a PDF file of a SAS job


For creating a PDF file of a SAS job or SAS procedure, we need to bracket the section of code for which you want to create tables or/and graphs:

options orientation=landscape;
ods pdf file=’test.pdf’;
goptions device=pdf colors=(black) rotate=landscape;
...
\SAS\ procedures
...
ods pdf close;

Example:

options orientation=landscape;
ods pdf file=’output-to-Test.pdf’;
goptions device=pdf colors=(black) rotate=landscape;

ods graphics on;

No comments:

Post a Comment