Help using Base SAS procedures

How do I export the log file to a specific folder using SAS procedure?

Reply
Occasional Contributor BNG
Occasional Contributor
Posts: 10

How do I export the log file to a specific folder using SAS procedure?

After executing a SAS program, I was wondering whether we can export the SAS log to a specific folder automatically via a SAS procedure or else instead of just clicking the “Save As” manually.

Thanks for your response in advance!
BNG
Super User
Posts: 5,424

Re: How do I export the log file to a specific folder using SAS procedure?

proc printto
Data never sleeps
Occasional Contributor BNG
Occasional Contributor
Posts: 10

Re: How do I export the log file to a specific folder using SAS procedure?

Thanks for your advice first, but can you show me an example to demonstrate the use of "Proc Printto" as I am not familiar with this procedure?

Thanks!
Trusted Advisor
Posts: 2,115

Re: How do I export the log file to a specific folder using SAS procedure?

BNG,

There is an example of what you want to do in the documentation.

Doc Muhlbaier
Duke
Occasional Contributor BNG
Occasional Contributor
Posts: 10

Re: How do I export the log file to a specific folder using SAS procedure?

OH!....thanks for all your comments, I am familiar with this procedure now.

Thanks again!
Ask a Question
Discussion stats
  • 4 replies
  • 203 views
  • 0 likes
  • 3 in conversation