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

I am trying to set a noprint as default value in my entire project.

Is there any option from where I can set the noprint option as default for all possible place.

like proc content, proc means, proc sql etc.

1 ACCEPTED SOLUTION

Accepted Solutions
Srigyan
Quartz | Level 8

I put this in the begning of my project and I got an error saying

 

ods close all;

ERROR 180-322: Statement is not valid or it is used out of proper order.

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26
ods close all;

turns off all output; if later you want html output you could use

 

ods html;
--
Paige Miller
Srigyan
Quartz | Level 8

I put this in the begning of my project and I got an error saying

 

ods close all;

ERROR 180-322: Statement is not valid or it is used out of proper order.

PaigeMiller
Diamond | Level 26

Due to early morning fogginess, I gave you the wrong command. 😞

 

The correct command is:

 

ods _all_ close;
--
Paige Miller
ballardw
Super User

Or perhaps ODS NORESULTS;

before the bits you don't want.

Then turn back on with ODS RESULTS.

 

Note that this would not suppress output sent to specific ods destinations such as ODS listing or Ods rtf file='<filename>' type output, just the results window.

 

You may find that some procedures fair poorly with all ods destinations closed.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 719 views
  • 1 like
  • 3 in conversation