05-07-2014 10:09 AM
I have code where ods tagsets are used to create multitab .xls file . once code is executed in SAS EG I can see the outputs in SAS result window .
I want to restrict the outputs which will be displayed in the SAS result window; for that purpose I used ODS _all_close . but after using this I could not print any output in SAS result window .Only part which was before this could be seen in the SAS result window . I think it closed all output destination .
Can any one tell me how to open all destination or some thing just opposite of "ODS _all_close" . Does SAS has some thing ODS _all_ Open kind of feature ? Or anyother way to deal with problem.
I have tried to restrict using ods listing close , ods result off etc but it did not work.
I could manage in listing output but not in SAS result window.
see the attached dummy code which reproduces it.
05-07-2014 10:12 AM
You can control how EG generates ODS statements in the Program properties. See this blog post for details:
05-07-2014 10:34 AM
EG generates the ODS destinations with an ID= attribute, which you can use to your advantage to toggle the flow of output.
Supposing that you are using the default SAS Report output destination, you can "turn off" the output to it with:
ODS tagsets.sasreport13(ID=EGSR) select NONE;
When you want it on again, use:
ODS tagsets.sasreport13(ID=EGSR) select ALL;
These statements would be slightly different for the HTML destination. Example:
ODS HTML(ID=EGHTML) select NONE;