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

Macro outputs table to rtf file, works for coworkers. When I run it on SAS EG, I get an error:

ERROR: The HTML destination is not active; no select/exclude lists are available.

Any suggestions are appreciated.

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

You probably need to turn on an output destination before you create the table

 

ods html;

or

ods html file="yourfile.html";

 

If that's not it, we need to the LOG contents (let's say for 50 lines before this error), as text not screen capture, pasted into the window that appears when you click on the </> icon.

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

You probably need to turn on an output destination before you create the table

 

ods html;

or

ods html file="yourfile.html";

 

If that's not it, we need to the LOG contents (let's say for 50 lines before this error), as text not screen capture, pasted into the window that appears when you click on the </> icon.

--
Paige Miller
pink_poodle
Barite | Level 11

Surprisingly, the macro was producing acceptable output despite these errors.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 700 views
  • 0 likes
  • 2 in conversation