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

RE: OpenESQL Assistant with ADO.NET

$
0
0

Hi Ahmet,

The OpenESQL Assistant can be used for automating the code generation for some of the commonly used tasks but it does not support every possible code scenario.

The scenario that you present here, where you are using a mixture of EXEC SQL and EXEC ADO statements is one of those scenarios that are not supported.

You can generate the EXEC SQL cursor through the OpenESQL Assistant but then your would manuallly have to add the code to get the cursor into a dataset.

An alternative to using the EXEC SQL would be to generate the statements as EXEC ADO connected model statements entirely which also allows you to read the rows from a database connection and then create a dataset from it. although I also find it easier to use the combination of EXEC SQL and EXEC ADO GET CURSOR INTO statements.

Thanks..


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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