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

 

Hi,

Is there a way to display the results again after entering an ods noresults? To cancel this instruction in other words. I couldn't find any other way than to exit my program and run it again with the ods noresults in comment.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

To reset ODS NORESULTS use ODS RESULTS;

 

There a quite a number of SAS options and instructions that have a NO<something> that the opposite is <something>.

 

Options Mprint/nomprint symbolgen/nosymbolgen mlogic/nomlogic for a couple of examples.

 

The question might be why you needed NORESULTS in the first place.

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26
ods results;

turns the results back on. I don't know if the results that were created when ODS NORESULTS; was in effect will then magically appear, but you can try it and let us all know.

--
Paige Miller
ballardw
Super User

@PaigeMiller wrote:
ods results;

turns the results back on. I don't know if the results that were created when ODS NORESULTS; was in effect will then magically appear, but you can try it and let us all know.


Not when I tested it. If there wasn't anything written to results it won't appear.

sasuser_8
Obsidian | Level 7

The results appear  if I run again the program with the ods results option.

ballardw
Super User

To reset ODS NORESULTS use ODS RESULTS;

 

There a quite a number of SAS options and instructions that have a NO<something> that the opposite is <something>.

 

Options Mprint/nomprint symbolgen/nosymbolgen mlogic/nomlogic for a couple of examples.

 

The question might be why you needed NORESULTS in the first place.

sasuser_8
Obsidian | Level 7

Thanks !

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
  • 5 replies
  • 382 views
  • 0 likes
  • 3 in conversation