BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

Could you please explain me why I have this warning message :

 

MarieT_1-1629383804877.png

Thank you !

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

If you are using the Display Manager (Foundation or Base SAS) try going to the menu Tools>Options>Preferences, go to the Results tab, make sure the "Create HTML" box is checked and then check the Use Work Folder.

 

Other wise you need to provide either a path to a folder on the ODS HTML statement such as

Ods htm path='c:/folder/subfolder'; as a window example.

Or

 

ODS Preferences;

will reset to the default but this will change other preferences besides the ods destination. If you haven't customized your preferences then not an issue but if you have then those customizations will be reset.

View solution in original post

3 REPLIES 3
ballardw
Super User

You must have one or more ODS destination active. By default this is usually ODS HTML that appears in the results window.

If you have for some reason submitted some code with ODS _all_ close; (most likely cause I see is using someone else's code) without providing a new ODS Html (or LIsting RTF PDF or other) then SAS has no place to send the print results of proc compare to.

 

Add an

 

ODS HTML;

before the Proc Compare and the warning should go away and output appear in the results.

SASdevAnneMarie
Barite | Level 11
Thank you, Ballard,
I didn't use ODS _all_ close on my code.

I put ODS HTML;, but I have an error :
35 ods html;
NOTE: Writing HTML Body file: sashtml2.htm
ERROR: Insufficient authorization to access C:\Applications\SAS\SASConfig\Lev1\SASApp\sashtml2.htm.
ERROR: No body file. HTML output will not be created.
36 proc contents data=Produit_OCP out=colonnes(keep=NAME);
37 run;
ballardw
Super User

If you are using the Display Manager (Foundation or Base SAS) try going to the menu Tools>Options>Preferences, go to the Results tab, make sure the "Create HTML" box is checked and then check the Use Work Folder.

 

Other wise you need to provide either a path to a folder on the ODS HTML statement such as

Ods htm path='c:/folder/subfolder'; as a window example.

Or

 

ODS Preferences;

will reset to the default but this will change other preferences besides the ods destination. If you haven't customized your preferences then not an issue but if you have then those customizations will be reset.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 833 views
  • 1 like
  • 2 in conversation