picm_deletecache

This function deletes the currently active cache file.

C format

int32 picm_deletecache( void );

Returns

>0

System Error

0

Success

-20020

No cache file for current host

Arguments

None

Usage Notes

The caller of this function must have previously called picm_opencache to open the cache file and piut_setservernode to set the PI Server if a call to piut_setservernode had been made since the initial call to picm_opencache.

The application should call picm_closecache before calling this function. However, to prevent cache corruption, the cache manager located within the PI API will gracefully close the cache before the cache file is deleted.

Enabling Operational Intelligence