Visual COBOL provides one JDBC sample application – Getting Started with JDBC. You can run the sample from the Visual COBOL Samples Browser. See To start the Samples Browser for instructions.
The JDBC sample is listed on the Show JVM COBOL only list in the Visual COBOL Samples Browser.
The source files are located in %PUBLIC%\Documents\Micro Focus\Visual COBOL\SamplesEclipse\jvm_cobol by default.
The sample application comes with a Readme file to explain how to use the application.
Before you can use the demonstration application, you need to set up a data source to use by the demonstration.
This demonstration application produces a console log displaying its progress and, possibly, query results. It terminates on receipt of an error after displaying an error message.