Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: JDBC Connection sharing between java and cobol

$
0
0

Hello,

I know this documentation. It just says the following :

  1. Pass the connection object to COBOL.
  2. Use EXEC SQL BIND CONNECTION to establish the connection.
  3. When done using the connection, use EXEC SQL UNBIND CONNECTION if Java still requires access to it, or use EXEC SQL DISCONNECT if Java no longer requires access.

I fully agree with that and I do understand it. But its far away from being sufficient.

In my Java Code I do open the database connection and now I should pass it to cobol.

?? How should I do this. .... ?? Based on the Term :

  1. Pass the connection object to COBOL.

I could :

- Print It, put it in a envelopen and FedEx it.

- Store It in the drive Bay ...

- Send It via a pidgeon

Sorry for my bad english but what I want to say ist that the doc is not engough to be used for any implementation. Some examples would be helpful

Kind regards

Michael

 


Viewing all articles
Browse latest Browse all 4356

Trending Articles