rue,
        "discardHighLimit":12,
        "discardLowLimit":-12
    };

    dp.setDiscardValues('DP_578141', discardValues);

7. Set default cache size:

    dp.setDefaultCacheSize('DP_578141', 22334455);

8. Set purge type:

    var purgeType =
    {
        "purgeType":"weeks",
        "purgePeriod":3
    };

    dp.setPurgeType('DP_578141', purgeType);</pre>

<br>
<p>
Note: These commands will only succeed if the data points added to the context 
and its data sources are enabled in the system.
</p>