The database table is built and accessed automatically when the COBOL application is executed. To the end user, the interaction between the COBOL and the Oracle database is transparent, as though they were part of one process.
You also can access the database information directly from Oracle, at your option.
To create a sample COBOL application, see Examples of Preparing and Compiling a Program.