Coding ODBC calls from COBOL: overview

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 AIX provides copybooks that help you make ODBC calls.