02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

164 Sample 3: ODS and the PRINTERPATH System Option (with FILEREF) Chapter 7<br />

Sample 3: ODS and the PRINTERPATH System Option (with FILEREF)<br />

Output: File ’.sasprt.out’ with the characteristics of the<br />

Universal Printer ’Postscript’<br />

Format: ODS<br />

options linesize=80 nodate;<br />

libname saslib ’.saslib.data’;<br />

filename outlist ’.sasprt.out’;<br />

options printerpath = (’Postscript’ outlist);<br />

ods listing close;<br />

ods printer;<br />

title1 ’ods and up file’;<br />

title2 ’printerpath with fileref’;<br />

proc print data=saslib.houses;<br />

<strong>for</strong>mat price dollar10.0;<br />

run;<br />

ods printer close;<br />

The following output shows the results of this code.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!