DATA Step, Macro, Functions and more

ODS report opening automatically

Accepted Solution Solved
Reply
Super Contributor
Posts: 266
Accepted Solution

ODS report opening automatically

ODF PDF FILE ="c:\OUTPUT_RESULT&NM.PDF";

PROC COMPARE BASE=OLD COMPARE=NEW;
RUN;

ODS PDF CLOSE;

I am running the above code in Base SAS window. After successfull execution, a pdf file containing proc compare result is opened automatically on my windows machine.

 

My problem is when I running this code through macro and creating 10 compare pdf report then 10 PDF files are opened automatically on my system. 

 

I do want pdf file to open itself on my machine. Please let me know, if I need to invoke any option.


Accepted Solutions
Solution
‎08-29-2016 07:39 AM
Super User
Posts: 7,832

Re: ODS report opening automatically

Go to Tools - Options - Settings - Results. There is an option for automatically opening results.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Solution
‎08-29-2016 07:39 AM
Super User
Posts: 7,832

Re: ODS report opening automatically

Go to Tools - Options - Settings - Results. There is an option for automatically opening results.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super Contributor
Posts: 266

Re: ODS report opening automatically

Posted in reply to KurtBremser

Thanks it worked. 

 

Small correction. 

Go to Tools - Options - Preferences - Results

 

Uncheck - View Result as they are generated

Super User
Posts: 7,832

Re: ODS report opening automatically

I had to translate from the German menu items Smiley Wink

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 10,041

Re: ODS report opening automatically

Tools -> 
Options ->
Preferences ->
Results ->
Don't select "Views results as they are generated "

☑ This topic is solved.

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

Discussion stats
  • 4 replies
  • 236 views
  • 2 likes
  • 3 in conversation