CALCONDEMANDSTAT archIdent, timeFromIdent_TmA, timeToIdent_TmA, bCalcDepend[, statusIdent_Int] |
archIdent | in | Reference to one value of historical value, column or row of structured historical value (see Note). |
timeFromItemIdent_TmA | in | Identifier of AbsTime type - interval beginning. |
timeToItemIdent_TmA | in | Identifier of AbsTime type - interval end. |
bCalcDepend | in | Identifier of Bool type - recalculation of dependent OnDemand archives. |
statusIdent_Int | out | Calculation (action) success. |
The action sends requests to the D2000 Archiv process to recalculate the statistical values of:
All the calculations are being executed for the time interval specified by the parameters timeFromIdent_TmA and timeToIdent_TmA.
Note: future calculations are disabled, if timeToIdent_TmA is also greater than the current time, only upto the current time is calculated.
If the optional parameter statusIdent_Int is entered, the action will be terminated after terminating all required calculations on the Archiv process.
The parameter statusIdent_Int can get one of the following values:
TIME _bt TIME _et INT _retCode _bt := %StrToTime("00:00:00 16-10-2003") _et := %StrToTime("00:00:00 17-10-2003") CALCONDEMANDSTAT H.Primary, _bt, _et, @FALSE, _retCode IF _retCode = _ERR_NO_ERROR THEN ; calculation executed ELSE ; an error occurred ENDIF |