How to connect to db2 database using visual cobol??

I'm working on a POC migration from mainframe to open system. I would like to know how to connect to db2 database using visual cobol? Is there any change we need to do to the existing cobol program which is calling db2 database?