The SAS Output Delivery System and reporting techniques

How to suppress warning message from COMPGED function in log?

Reply
N/A
Posts: 0

How to suppress warning message from COMPGED function in log?

I am running the COMPGED function on a fairly large dataset and it won't take long to fill up the log space with a repeated warning message of 'COMPGED should have skipped DP table'. And everytime it pops up an window asking me to clean up the log space first, again and again. So is there a way to suppress this information from showing up in the log? Thanks.
Super Contributor
Posts: 260

Re: How to suppress warning message from COMPGED function in log?

Posted in reply to deleted_user
I'd rather suggest you not to suppress the message, since it may be important, but to route your log to an external file which will not be filled up and requiring any care while the program is running.
PROC PRINTTO LOG="some path and name for external log" ;
RUN ;
DATA ... ;
SET ... ;
/* where you're using the Compged function */
RUN ;
/* and return back to normal */
PROC PRINTTO LOG=LOG ;
RUN ;

You can scan your log using any text editor, like Notepad, with the Find function, to look for any error message afterwards.

Cheers
Olivier
Ask a Question
Discussion stats
  • 1 reply
  • 175 views
  • 0 likes
  • 2 in conversation