The duplicate checking
process discards an observation whose timestamp value is less than
or equal to the upper limit of a datetime range. However, in some
cases, SMF records with exactly the same datetime stamp are split
across tapes. In these circumstances, the first few records of the
second tape would be discarded because they match the criteria of
being less than or equal to the upper limit of an existing datetime
range.
The following two macro
variables can be used to remedy this situation:
-
When set to
Yes
,
this macro variable specifies whether observations with equal timestamp
values can be processed when they are the first records processed
for the value that is specified in the IDVAR parameter. The default
value for this macro variable is
No
.
-
This macro variable
specifies whether messages should be produced when both of the following
conditions are met:
-
CPDUP_ALLOW_EQ is set to
Yes
.
-
observations with equal timestamps
are encountered.
The default value for
this macro variable is
No
.
The following text
shows the format of the messages that are produced:
Potential duplicate has been processed _n_=<observation number> system=<system name>
smftime=<SMF timestamp>
To set these macro variables,
add the following statements to the beginning of the batch job:
%let CPDUP_ALLOW_EQ=YES;
%let CPDUP_ALLOW_MSG=YES;
The following text
is an example of the messages that might be produced:
Potential duplicate has been processed _N_=28833 SYSTEM=ABC1 ID=30
SMFTIME=17MAR2012:01:00:00.00
Note: If the macro variables are
not specified in the batch job, their absence is interpreted as
No
.