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

RE: Has anyone used embedded SQL with Postgresql in COBOL?

$
0
0

I could not connect using a format 6 CONNECT statement.  

I tried using EXEC ADO BIND CONNECTION, but I get compiler error code "COBCH0801  Incorrect SQL statement systax near: from" on my EXEC SQL SELECT statement.  

I then tried running ESQLCONFIGW.EXE per this link to fix the COBCH0801 error:

community.microfocus.com/.../20644.program-using-openesql-gets-compile-errors-when-moving-from-net-express-to-visual-cobol.aspx

but when I run it I get "Unhandled exception .. Object reference not set to an instance of an object".  If I select "Continue" I can select "No change in default behavior" but I can't save it.

I then tried adding the directive SQL(BEHAVIOR=UNOPTIMIZED) to my project but that did not help.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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