BookmarkSubscribeRSS Feed
Forca_DK
Calcite | Level 5

Dear friends.

When I am running  SAS EG( v 9.4) programs,  the output in  Result- SAS report window appear to be rather confusing , since it shows a lot of different  tabels witch are not importend for the users. I need to show only one table in that window, but I can't finde the right way to do so. I have been searching on the Communities, but perhaps I was searching on the wrong branch since I did not find anything useful.

What can I don't want to show the to first reports , but only the last one ?

 

 Let say that I run the two  following  proc steps  and I only want to show  table for the last proc step ? 

proc contents data= sashelp.CITIDAY; run;

proc print data= sashelp.class; run;

 

Can anyone help me with that problem please ?

2 REPLIES 2
Kurt_Bremser
Super User

Procedures that produce output usually have an option to suppress it, eg

proc contents data=sashelp.class out=test noprint;
run;

See the documentation for a given procedure to dteremine how to get rid of unwanted output.

If a procedure step is written that it only produces visual output (no out=dataset or similar defined), then comment that step with /* */, as it is not needed anyway.

Forca_DK
Calcite | Level 5

Hi Kurt.

Thanks . If there is no other solution , I vil do as you say. However my SAS program is rather complicated and use macro's witch runs another macros, therefor I was thinking about applying somehow Dm clear "output". The problem is , that it 's not working as I want it to.

Best regards !

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 2101 views
  • 2 likes
  • 2 in conversation