may help you . There are a number of ways to do what you want. If, by dynamically call, you mean call via a data definition variable, I don't think you can do this with the linker/binder since the binder needs to know the target functions at bind time.
Program to connect Oracle Database using DataSource interface
hope this fix your issue I want to connect to Oracle database using DataSource interface not using DriverManager in java. I don't have an idea about this. Please provide me a sample program to do so. , When you want to use a DataSource here is the way to go:
// Setup the datasource
DataSource ds = new OracleDataSource();// There is other DataSource offered by Oracle , check the javadoc for more information
// Get a JDBC connection
Connection c = ds.getConnection();
Call Cobol or C functions in Cobol program called by C# program
hop of those help? Note: This is a guess as I did not tested it, but for most COBOL implementations there is a a runtime library (which should be the target for dlopen / LoadLibrary) which provides functions to use it. A quick search in the Micro Focus documentation showed C Functions for Calling COBOL, you likely want to use cobinit(), cobcall() and cobtidy().