Evaluates log files of programs for "cautionary" messages
%logeval(path=path location of log files,
program=selected sas program name with extension,
outfile=output result file
);
Where | Is Type... | And represents... |
path | LIBNAME | Library referencing the location of the reports dataset. |
program | C (optional) | SAS program name. For example, demog.sas.
 | If no program is
specified, all the log files in the directory will be evaluated. |
 | A wild card
specification can be specified such as l_dem* | |
outfile | C (optional) | The output file of the resulting report. This
includes the full path and the name of the file. | Details
This tool evaluates a specified log file and searches for key
"cautionary" messages. It will generate a report displaying lines
containing these messages. The "cautionary" text include the non-case
sensitive occurrence of:
abnormally terminated
are only valid
associated will expire
both numeric
could not be
division by zero
does not exist
due to attention
error
execution terminated
extraneous information
fatal
hardcode
hard-code
has 0 obs
has been augmented
has been replaced
invalid
is already sorted
is empty
line generated by
lost card
merge statement
missing values
more than 200
more than one dataset with repeats
no convergence
no observ
no output dataset
not found
not in crit
not on the data
not processed
not that many
outside the axis range
past the end of the line
repeats
same physical library
sas stopped
stopped due to looping
truncated
unable to open
uninit
unknown
valid
w.d
w\.d
warn
was too small
will be lost
word does not start
If the program parameter is not specified, all log files in the specified directory
will be evaluated. The outfile will also. If no outfile is specified, the
report will be generated in the log file. Example %logeval(path=c:\myprog);%logeval(path=c:\myprog,program=demog.sas); |