Collect Job Status Information in the SAS Job Monitor

The SAS Job Monitor is supplied as part of the SAS Environment Manager. You can use the SAS Job Monitor to collect and display job status information. The job status information is collected from the job log files that are generated by the Monitor logger on the SAS Visual Process Orchestration Runtime Server. The Monitor logger is active and configured by default.
To configure the SAS Job Monitor to collect status information for orchestration jobs, see the Help in the SAS Job Monitor.
To enhance the performance of the SAS Job Monitor, and to more easily locate Monitor events, specify a directory for the configuration option DMSERVER/JOBS_LOGS_DIR (dmserver.cfg) and restart the Runtime Server. Similarly, when you run orchestration jobs with dmpexec, specify a log directory with the -l option.
When you run an orchestration job, log entries are collected by default at the end of the job run. To collect log entries at specified intervals during the job run, add the configuration option BASE/MONITOR_FREQUENCY to the file install-path/etc/app.cfg. The value of the option specifies the time interval, in milliseconds, between Job Monitor log entries. The default value -1 indicates that one Job Monitor log entry is collected at the end of the job run. To collect useful log entries during the job run, experiment with different time-interval option values. Also be aware that a high frequency of log events affects job performance.
To summarize, the requirements for collecting job statistics are defined as follows:
  • Install and configure SAS Environment Manager and SAS Job Monitor.
  • Create a separate directory for job logs. If you run jobs with dmpexec, make sure that you specify a different log file for each run of each job. To maximize performance, generate log events during job execution only during job testing.
  • To collect log entries during the job run, add the option BASE/MONITOR_FREQUENCY to the app.cfg file and restart the Runtime Server.