Why my stored procedure with OUT parameter works in JDBC-ODBC Bridge and IDS Server 3.2.x but not in IDS Server 3.5.x?
Both JDBC-ODBC Bridge and IDS Server 3.2.x uses ODBC 2.x API, which makes OUT parameter values available once the stored procedure is executed. The problem for this behavior is that some stored procedures contain multiple SQL statements, and the OUT parameter value may not be assigned until all statements are processed. IDS Server 3.5.x uses ODBC 3.5 API, which changes how OUT parameters values are assigned to address this problem. Refer to topic J13 for details.