Why does sqlca.sqlerrm.sqlerrmc sometimes cause error "sqlerrm not a member of struct sqlca_s"?

I have an Oracle pro*c program where for one branch when the generated c code is compiled the IBM xlc compiler now complains "sqlerrm is not a member of struct sqlca_s" when I reference sqlca.sqlerrm.sqlerrmc.  Am including  <sqlca.h> directly.   I cannot find struct sqlca_s or a relevant #define in any Oracle  9 or my application's header files.  Nothing unusual is visible in the C file.
This does not happen in another, unrelated code branch but I cannot find the difference that is causing this.
maswansonAsked:
Who is Participating?
 
maswansonConnect With a Mentor Author Commented:
I found the answer.  The Oracle Tuxedo product includes a <sqlca.h> of its own and I had its -I first in the list.   Reader that header file, it appears that struct sqlca_s is (or was) the type of the all caps SQLCA global variable.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.