Data structures

Most Connection Manager routines require the address of a CM_CACHE handle as a parameter. The CM_CACHE handle allows your code to refer to a specific data source that is defined in Management Console. The JagCmGetCachebyName routine returns a CM_CACHE handle to the named data source. JagCmGetCachebyUser creates a temporary data source using the specified parameters and returns its CM_CACHE handle.

ODBC uses an HDBC structure to represent a database connection. The JagCmGetConnection routine returns the address of an HDBC structure.