This function closes the currently active cache file. The file will remain for future use.

C format

int32 picm_closecache( void );






No cache file for current host


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 should call picm_closecache before exiting the application. However, to prevent cache corruption, the destructor in the cache manager located within the PI API will gracefully close the cache if this function is not called.

Enabling Operational Intelligence