What Visual COBOL version are you using?
I recall this being a problem in an earlier product release.
A more important question would be why are you using ODBC in a managed code .NET application? If you are running a managed code .NET application then you should not be using ODBC to do database connections. You should be using ADO instead.
What SQL directives are you compiling with?