Hello
I run long sas program.
In Log I see a message: :Maximum Log size has been exceeded"
My question-
I still want to see in Log the step of running and if there is any error or warning.
What should I write (code) in order to see the Log but in short?
Hi,
Have you tried the options in the SAS page Suppressing Information to the SAS Log ?
Alternatively, proc printto can be used to redirect the log to an external file.
Thanks & kind regards,
Amir.
WHY is your log size so large?
Are getting lots of warnings such as invalid data messages from a data step?
Are you specifically writing stuff to the log?
A macro loop that generates 100,000 calls to a procedure?
Did you open the log externally as suggested? Can you discuss the contents? Several of the above types of log entries can be reduced or indicate that your code needs adjustment.
This post includes a number of suggestions that will help including setting the DMSLOGSIZE option to MAX.
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.