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.
↧