You can collect status
information about your job runs using the SAS Job Monitor. The SAS
Job Monitor is supplied as part of the SAS Environment Manager software.
The SAS Job Monitor collects statistics from job run log files. Job
run log files are generated by the Monitor logger on the Data Management
Server. The Monitor logger is active and configured on the server
by default.
By default, the Job
Monitor collects statistics at the end of the job run. To collect
statistics at specified intervals during job
runs, add the configuration option BASE/MONITOR_FREQUENCY to the file install-path/etc/app.cfg
.
The default value of this option is -1. To collect statistics during
the job run, set an option value that determines the time interval
in milliseconds between the generation of log entries. Experiment
with different option values to achieve desired results.
To store job run logs
in a separate directory, specify a directory path as the value of
the option DMSERVER/JOB_LOGS_DIR, in the file install-path/etc/dmserver.cfg
.
By default, job run logs are stored in the same directory as all other
job logs and job files, as specified by the value of DMSERVER/WORK_ROOT_PATH.
The default directory can become large and difficult to navigate.
If you specify DMSERVER/JOB_LOGS_DIR, the value of that option will
be set when you start the server. At start time, the value of the
option is recorded in the server log file.
If you need to change
the encoding of your job logs, set the option BASE/JOB_LOG_ENCODING
in the DataFlux Data Management Server’s app.cfg file. The
BASE/JOB_LOG_ENCODING option specifies the encoding that is used in
the job log. By default, the log is written in the encoding associated
with the locale of the process that executes the job. For English-speaking
organizations, this might be LATIN-1 or UTF-8. If a log entry contains
characters that cannot be represented in the specified encoding, then
the log entry is not written to the log file.
For additional information
about the collection of job statistics, see the DataFlux
Data Management Studio Installation and Configuration Guide,
the DataFlux Data Management Studio User’s Guide,
and the Help for the SAS Job Monitor.