Note: If you already have one
or more batch jobs that process, reduce and report on data from a
supplied collector. You can modify the job(s) to also handle data
from your generic collector. This daily (production) job probably
has at least the following three steps:
- The %CPSTART macro is invoked, which
starts the IT Service Vision server software. This macro
points to the PDB and also indicates that write access to
the PDB is required.
- The %CxPROCES macro (%CSPROCES for Open
Systems, % CWPROCES for the PC, or %CMPROCES for MVS) is
invoked to process the new data into the detail level of
the PDB. Over time, this fully populates the detail level
of the tables involved.
- The %CPREDUCE macro is invoked to reduce
the new data. Over time, this fully populates the day,
week, month, and year levels of the tables involved.
To include data from a generic collector, the
daily production job should be modified as follows:
- The staging code (see Fax
Appendix 2: Sample Code for Staging the Data) should run after the last %CxPROCES macro that
currently is in the daily production job.
- Following that code, the %CPPROCES macro
should be invoked to process the staged data into the
detail level of the PDB.
- You do not need to add another invocation
of the %CPREDUCE macro. The existing invocation of
%CPREDUCE can be used to reduce data for all tables in
the PDB.
- Add the invocations of the report macros
for the generic collector, after the invocations of the
report macros for the supplied collector.