Example: lrd_open_context
In the following example, lrd_open_context opens a context for an ODBC database session.
lrd_open_context(&Cntx1, LRD_DBTYPE_ODBC, 0, 0, 0); lrd_open_connection(&Con1, LRD_DBTYPE_ODBC, "", "", "Flight32_QuadBase",Cntx1, 0, 0); lrd_db_option(Con1, OT_ODBC_TXN_READ_COMMITTED, 0, 0); lr_think_time(7); lrd_open_cursor(&Csr1, Con1, 0);