SQLCA throws compiler diagnostic
I am compiling a suite (about 300) of COBOL programs as part of an upgrade to Enterprise Developer 4.0. One of the programs doesn't compile - the "error" is the COMP-5 usages in SQLCA, which is pulled into the program with an INCLUDE. Many other programs also INCLUDE SQLCA - and they all are compiling without any problem. What is going on here - and how do I find the actual error? It's not in the SQLCA, obviously.
Re: SQLCA throws compiler diagnostic
Well, I found the error - and it wasn't in the SQLCA. At the end of the program a reference to a field from a copybook used a reserved work - COL, I believe.