Warnings or error messages
in your SAS log can help determine why your report jobs fail to generate
reports. For example, you might see this warning message in the SAS
log:
NOTE: Input data set is empty.
WARNING: Report definition did not generate a graph.
Make sure that your input data source contains data.
Any one of the following three scenarios can produce
a warning or an error message in the SAS log.
To determine which of
these scenarios is responsible for causing the problem, see How to Determine Why Data Is Missing.
-
A report definition is using an
information map with a filter that subsets data that does not yet
exist.
Most of the report
definitions that SAS IT Resource Management supplies use information
map filters to subset the data for reporting. In some cases, the filters
result in missing data and some
SAS/GRAPH procedures generate warnings
or errors that can be prevented only by rerunning the report when
data is available.
For example, most report
definitions that are designed to run on a weekly basis are designed
to run at the beginning of the week for the previous week. When the
IT data mart does not contain any data for the previous week, the
report definition does not produce any reports. The same is true for
monthly reports. Most monthly reports are designed to be run at the
beginning of a month for the previous month. In these cases, you should
wait until the IT data mart contains the data for the designated time
period before scheduling the job.
Another example where
you might be missing data is when you first start to run daily jobs.
(Daily jobs report on the last whole day for which there is data.
These jobs do not report on data if at least one completed day is
not present in the data source.) In some cases, you might have specified
a cutoff time for completing the day. If there is no data that is
equal to or greater than that cutoff time, then there is no data for
the current day. In addition, because this was the first time you
ran the daily reporting job, there is no previous day’s data.
Therefore, your report will not be generated.
Note: This scenario no longer applies
after the first day. From day 2 onward, the data for a completed (previous)
day will be available.
-
A report definition is using a
filter that always results in missing data for a particular report.
In this case, you might
need to update or eliminate the filter to ensure that data is available
for a specific report definition.
-
A report definition reports on
a specific metric that is not collected at a particular site.
In this case, you should
modify the report to use a metric that is available or eliminate the
report definition from the report job.