HistoryGroupStorageTimes — specifies how long to keep data in a history.
(HistoryGroupStorageTimes group_pattern days hours minutes)
group_pattern
A pattern to match one or more groups, such as
HIST.
days
The number of days to store data. Enter 0 to
ignore this parameter.
hours
The number of hours to store data. Enter 0 to
ignore this parameter.
minutes
The number of minutes to store data. Enter 0 to
ignore this parameter.
A message indicating success or error. Please refer to Return Syntax for details.
This command specifies how long to keep data in a history. This corresponds to the Keep data for option in the Configure Historical Data Capture dialog of the Historian option of the Properties window.