I am using VS Code to code Visual COBOL. And one of my programs will require to connect to DB2 (MySQL Workbench).
As per my research, I need to have ODBC to apply the OpenESQL in microfocus. But as I was trying to compile my cobol program, I am hitting an error saying:
error COBCH0149 : No SQL directives have been set.
But on the upper part i have declared $SET SQL.
I also tried updating the default directives to include sql, i am still getting COBCH0149 error.