To access ODBC from COBOL programs, you need to use data types that are appropriate for ODBC, and understand how to pass arguments, access return values for functions, and test bits. IBM COBOL for Windows provides copybooks that help you make ODBC calls.
related tasks
Using data types appropriate for ODBC
Passing pointers as arguments in ODBC calls
Accessing function return values in ODBC calls
Testing bits in ODBC calls
Using COBOL copybooks for ODBC APIs
Compiling and linking programs that make ODBC calls