SAS provides a set of
sample programs that you can use as a basis for developing your own
programs to analyze server log data. The location of the sample programs
varies according to the operating environment.
UNIX Specifics: !SASROOT/samples/share
Windows Specifics: !SASROOT\Share\Sample
z/OS Specifics: &prefix.SAMPLE
Here are descriptions
of the sample programs:
is a look-up table
that associates a macro variable with each message number that is
generated in the server log. For example, the DINIMSG macro variable
is assigned to the 43131 message number, which corresponds to a PROC
SERVER start-up.
is a driver program
that automates the execution of all the other programs.
converts the server's
log from a file into a SAS data set.
creates a set of SAS
data files from the SAS data set that is generated by SLTOOL1.SAS
and stores the files in the library SLOGDATA. Each of the created
files relates to specific data that is collected in the log. For example,
SLOGDATA.SERVINFO is a data file that records the server's name and
the times when it was started and stopped.
is another sample program.
Before you use these
programs, you must customize them to your site's operating environment
and your log analysis needs. Running an untuned program produces unpredictable
results.