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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 5 replies
  • 1300 views
  • 0 likes
  • 3 in conversation