We recommend the following process for developing, building, and executing a JVM COBOL application for JDBC:
- Assemble your JDBC resources
- Create a JVM COBOL project in
Visual COBOL
- Set
Micro Focus project properties, including SQL Preprocessor and JVM Build Path properties
- Assemble application components in your JVM COBOL project
- Develop application code
- Add appropriate database connection code to your JDBC programs
- Build the project
- Debug or
Run the application in
Visual COBOL
Note: You can also run the application from the command line instead of from the
Visual COBOL project; however, to do so, you must also configure the JVM run-time environment.