My Oracle Support Banner

Pro*C Generates SQL-02115 At Runtime After 24 EXEC SQL Statements (Doc ID 2585679.1)

Last updated on OCTOBER 15, 2019

Applies to:

Precompilers - Version 12.2.0.1 and later
Oracle Solaris on SPARC (64-bit)
Using Solaris Studio 12.2 Compiler

Goal

If you are compiling Pro*C application using Solaris Studio 12.2 and using more than 20+ EXEC SQL statement in it, then you can face the below error during "execution":

SQL-02115: Code interpretation problem


To Reproduce the issue you can use the below minimal test case:

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.