The following example shows how to stop all collections within commands list 1 that operate on the Personnel database.
CALL TDSTATS.AbortCollect (1,'MyCmdsList', 'PERSONNEL', NULL, NULL, 'Y', NumPendingAborted,NumInProgressAborted); *** Total elapsed time was 1 second. NumPendingAborted NumInProgressAborted ------------------ -------------------- 2 1