cancel
Showing results for 
Search instead for 
Did you mean: 

proc printto

jplarios
Quartz | Level 8

proc printto

if I wanted to print several different data sets into one single file, would the printo work and how?
2 REPLIES 2
sbb
Lapis Lazuli | Level 10
Lapis Lazuli | Level 10

Re: proc printto

Yes - allocate your file with FILENAME, invoke PROC PRINTTO to re-direct the SAS LIST to the declared , execute your code, as needed, reset PROC PRINTTO, and then issue FILENAME CLEAR.

You may also want to look at ODS LISTING / HTML / PDF / RTF / ... as well, depending on your output formatting requirements.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument to consider:

proc printto site:sas.com Message was edited by: sbb
jplarios
Quartz | Level 8

Re: proc printto

thanks, yes the ODS PDF is better.

jp.