Connections

The program accessing KISAM tables must first attach to the database and allocate a connection handle. This is done with a call to KISAMConnect which is passed details of the database in a connection string as well as a userid and password. Currently KISAM uses the operating systems security and so these parameters are not required and should be passed as NULL pointers. The connection operation is required and so is a complementary KISAMDisconnect which frees the database.

The connection handle allocated by KISAMConnect should be passed to KISAMAllocHandle when allocating a table handle.