The staging transformations
for the HP Reporter, MS SCOM, and VMware adapters do not provide a
parameter for duplicate-data checking. Duplicate-data checking is
always enabled for these adapters. SAS IT Resource Management provides
two macro variables that enable you to subset data for the HP Reporter,
MS SCOM, and VMware adapters: ITRM_LoadFromDate and ITRM_LoadToDate.
These macro variables enable you to override the default action of
subsetting the incoming data based on the duplicate-data control data
sets.
The ITRM_LoadFromDate
and ITRM_LoadToDate macro variables can be used in the following situations:
-
to backload data into tables that
are added to a staging job after it has already run once against a
given set of data
Note: Only the data for HP Reporter
and VMware adapters can be backloaded. MS SCOM data cannot be backloaded.
-
to specify a datetime range that
will be used during staging to extract only the data from the input
database whose datetime stamps fall within the range specified
Note: When the ITRM_LoadFromDate
and ITRM_LoadToDate macro variables are set, the duplicate data checking
code is still executed. SAS IT Resource Management will discard any
data that is detected as duplicates.
The following code sets
the ITRM_LoadFromDate and ITRM_LoadToDate macro variables to valid
start and end datetime values. These values will be used to subset
the data from the database instead of the ranges in the duplicate
data control data sets. This code should be added to the generated
code or to the deployed job code for the staging job.
%let ITRM_loadFromDate=14FEB2010:00:00:00;
%let ITRM_loadToDate=15FEB2010:23:59:00;