Future data specifies whether to check for future data and indicates what to
do when it is encountered. This parameter specifies the FUTURE parameter
in the RMFUTURE macro.
This parameter controls
the processing of incoming data that has a datetime variable that
is greater than 48 hours in the future. (That is, the datetime variable
is more than 48 hours after the current time on the system where data
is being staged for processing into the IT data mart.) The 48-hour
buffer provides for different time zones, daylight saving time, Greenwich
Mean Time, and so on.
If future data is encountered,
a note is written to the SAS log. This note provides the future data
option that is selected, shows the datetime that was encountered,
and explains the status of the future data, such as whether it was
added to the IT data mart or if the job was terminated.
Here are the values
that are available for this parameter:
specifies that incoming
data is staged for processing and is processed into the IT data mart. If
any of the data has a datetime value of 48 hours or more in the future,
then a note that future data was encountered is written to the SAS log.
This value enables an IT data mart to accept future data. For example,
you might want to use this setting to perform end-of-year testing
with a test IT data mart.
Note: Age limits take effect from
the most recent data. Therefore, dates in the future might cause at
least some of the existing data to be aged out of the IT data mart.
specifies that data
with a datetime value of 48 hours or more in the future is not staged
for processing and is not processed into the IT data mart. This value
is the default. This value prevents future data from being processed
into the IT data mart. Future data might cause existing data to be
aged out (the existing data would appear to be older than it is, in
comparison with the future data).
specifies that if any
incoming data has a datetime value of 48 hours or more in the future,
then staging of the data stops, an error message is written to the
SAS log, and the job terminates. This value prevents future data from
being processed into the IT data mart, which might cause existing
data to be aged out (the existing data would appear to be older than
it is, in comparison with the future data). This value stops processing
and thus calls more attention to the future data than the Discard
value.
CAUTION:
Although
the job terminates, the resulting staged table might contain data.
However, termination of the job indicates an error in processing,
and any data in the resulting staged table might be invalid.