Help using Base SAS procedures

proc printto

Reply
Regular Contributor
Posts: 163

proc printto

if I wanted to print several different data sets into one single file, would the printo work and how?
Super Contributor
Super Contributor
Posts: 3,174

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
Regular Contributor
Posts: 163

Re: proc printto

thanks, yes the ODS PDF is better.

jp.
Ask a Question
Discussion stats
  • 2 replies
  • 121 views
  • 0 likes
  • 2 in conversation