Highlighted
seggerman Trusted Contributor.
Trusted Contributor.
118 views

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.

0 Likes
1 Reply
seggerman Trusted Contributor.
Trusted Contributor.

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.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.