Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-10-07
1
Medium Priority
?
1,036 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:maswanson
1 Comment
 

Accepted Solution

by:
maswanson earned 0 total points
ID: 36936659
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

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question