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

ADO

$
0
0

Hello,

I'm tryin to use the following statement in one of my managed Cobols:

EXEC ADO

   GET CONNECTION INTO :MyConnection

END-EXEC.

How should I declare the MyConnection field in my Cobol program.

I tried this:

01 MyConnection TYPESystem.Data.SqlClient.SqlConnection.

But I get the following compiler error:

Error 1 COBES0100 : Incorrect SQL statement syntax near: xxxxx

Any ideas?


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>