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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 553 views
  • 0 likes
  • 3 in conversation