BookmarkSubscribeRSS Feed
smm662002
Quartz | Level 8

Hello,

 

I am creating two XLS report using proc report and ods excelxp.tagset (I am using SAS 9.3 on Windows). The code run without any errors and the report is created but after the file is created a SAS window is displayed asking if I want to open the XLS file in SAS. I have managed to disable this message window only by manually changing the options in Tools-->Options-->Preferences-->Results. The problem is that even if I change the display options in one session, SAS will still revert to the default settings when a new session is started. 

I have tried to use ods _all_ close, ods html close but no results. I think that the default options can be changed in the ODS SAS registry but I don't want to so far.

 

Would anybody know what should I do to stop displaying that message window?

 

Thank you,

 

Madalin

 

 

 

 

  

1 REPLY 1
RW9
Diamond | Level 26 RW9
Diamond | Level 26

If you don't want files created by SAS to automatically open after creation, put in - either to your startup files, or you program:

ods noresults;

 

That will turn the feature off.  It can go in your programs, or in autoexec.sas.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 778 views
  • 0 likes
  • 2 in conversation