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

Connect SQL database without connect statement

$
0
0

 Hello COBOL community,

 

I actually work on a project with this configuration:

- Visual Studio 2017

- Visual Cobol 4.0

-SQL Server 2014 and SSMS 2017

- Native project

 

I actually have some programs with access to a database. I use a "Connect" statement with parameters such as "Trusted_Connection","Database","factory","server".

My question is: is it possible to include all those parameters with the ADO connection assistant? I tried to configure one but when I use my exec sql statements, I have an SQLcode error.

The goal is to epurate the code of the procedure division and have a COBOL-like program.

Thank you for your answers and have a wonderful week.

 

Sebastien.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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