The following example shows how to automate the statistic defined on Personnel.Employee database whose dictionary assigned DBC.StatsTbl.StatsId column value is 1.
CALL TDSTATS.AutomateSingleStat ('Personnel', 'Employee', 1, 'Y', AutomateId, NumCopied); *** Procedure has been executed. *** Total elapsed time was 10 seconds. AutomateId NumCopied ------------- ------------- 2 1