Search notes:

SAS log: tail -f

In order to constantly view the log with tail -f, the log file must be unbuffered. Apparently, the default seems to be buffered. This can be changed with the unbuflog option. However this option is set(?) at start up of SAS.
So, the logparm option must be set to write=immediate. Since logparm also cannot be changed dynamically, it needs to be set in a configuration file, possibly in ~/.sasv9.cfg:
-logparm "write=immediate"
If Enterprise Guide is used, the log file might be redirected with proc printto.
It is advisable to set pagesize=max in order to suppress the page breaks which make it quite impoosible to look at the log file with tail -f.

See also

The Perl script highlight-sas-log.pl to highlight a log file.

Index