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.
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.
ods close all;
turns off all output; if later you want html output you could use
ods html;
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.
Due to early morning fogginess, I gave you the wrong command. 😞
The correct command is:
ods _all_ close;
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.
Thanks
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.