Connection descriptor
A module (C UDR or client LIBMI application) obtains access to the session context through a connection descriptor, MI_CONNECTION. The connection descriptor is an opaque C data structure that points to the threadsafe context-sensitive portion of the session information.
The session context includes the information in the following table.
| Connection information | More information |
|---|---|
| Save sets | Save sets |
Statement descriptors:
|
Execute basic SQL statements |
| Cursors (implicit and explicit) | Queries and implicit cursors and Define an explicit cursor |
Resources for the current row of the current statement:
|
Retrieving query data |
| Function descriptors | Obtain a function descriptor |
| Callbacks registered for the connection | Register a callback |
| User data | ids_dapip_0329.html#ids_dapip_0329 |
| The integer byte order of the client computer | Conversion of opaque-type data with computer-specific data types |
You obtain a connection descriptor when you establish a connection in the module. For more information, see Establish a connection.