DATA Step, Macro, Functions and more

sas query

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 145
Accepted Solution

sas query

Dear All,

 

I am using the below code proc compare and i am getting the desired results in LISTING file. Can some one help me with outputting the listing to a designated location like C drive. I would like to output to the following location. it also help if i can output the log file to the same below location

 

P:\Rakesh\compare

 

proc compare base=test compare=test1;
run;  

 

Thanks

 

Rakesh


Accepted Solutions
Solution
‎07-12-2016 03:52 PM
Contributor
Posts: 25

Re: sas query

Use PROC PRINTTO to redirect the LISTING to a file.

View solution in original post


All Replies
Solution
‎07-12-2016 03:52 PM
Contributor
Posts: 25

Re: sas query

Use PROC PRINTTO to redirect the LISTING to a file.

Super User
Posts: 10,500

Re: sas query

Note that with Proc Printto you can direct the procedure output to one file and the log to another file with the same Proc statement.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 238 views
  • 1 like
  • 3 in conversation