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?