I'm receiving the following error and have everything in place, when I searched the internet for the cause of below, I received (below)
Query.CPY (40,21-22) : error COBES0100 : Incorrect SQL statement syntax near: Query
Query.CPY (44,26-31) : error COBCH0233 : Unknown data description qualifier Query
Query.CPY (86,26-36) : error COBCH0233 : Unknown data description qualifier Query-NULL
COBOL compile: 0 item(s) succeeded or up-to-date, 1 failed.
Query.CPY (44,26-31) : error COBCH0233 : Unknown data description qualifier Query
Query.CPY (86,26-36) : error COBCH0233 : Unknown data description qualifier Query-NULL
COBOL compile: 0 item(s) succeeded or up-to-date, 1 failed.
Incorrect SQL statement syntax near: WITH
Problem:
The following complex query compiles fine in Net Express:
EXEC SQL
DECLARE cursor0 CURSOR FOR
DECLARE cursor0 CURSOR FOR
SELECT col1, col2,
CASE WHEN ...
THEN (SELECT COUNT(*) FROM table1 WHERE ...)
ELSE (SELECT COUNT(*) FROM table1 WHERE...
AND EXISTS (SELECT * FROM table2 WITH (NOLOCK) WHERE ...)) END, CASE WHEN ... END
FROM Table0
CASE WHEN ...
THEN (SELECT COUNT(*) FROM table1 WHERE ...)
ELSE (SELECT COUNT(*) FROM table1 WHERE...
AND EXISTS (SELECT * FROM table2 WITH (NOLOCK) WHERE ...)) END, CASE WHEN ... END
FROM Table0
END-EXEC.
When compiling the above in Visual COBOL 2.3 for Visual Studio, the following error occurs:
COBES0100 : Incorrect SQL statement syntax near: WITH
Resolution:
The issue has already been addressed in Visual COBOL 2.3 Hotfix1 that is available at the Product Updates page of the Micro Focus SupportLine site.
The fix is also included in the upcoming release of Visual COBOL 2.3 Update 1.
then when I go to this site, it shows ACCESS DENIED
Is this the correct problem?