Quote:
|
Originally Posted by sathyaram_s
gnanaraj, Can you please post the problem stmt ?
And also, the platform and DB2 Fixpak info
Sathyaram
|
The platform is Unix.
DB2 information is as found below on V7:
$ db2level
DB21085I Instance "db2inst1" uses DB2 code release "SQL07029" with level
identifier "030A0105" and informational tokens "DB2 v7.1.0.93", "s031208" and
"U495945".
$
DB2 information is as found below on V8:
C:\>db2level
DB21085I Instance "DB2" uses "32" bits and DB2 code release "SQL09010" with
level identifier "02010107".
Informational tokens are "DB2 v9.1.0.356", "s060629", "NT32", and Fix Pack "0".
Product is installed at "C:\PROGRA~1\IBM\SQLLIB" with DB2 Copy Name "DB2COPY1".
C:\>
The error does not occur during CREATE PROCEDURE time. The SQL Stored Procedure is compiled successfully. However, when calling the SP for certain values it does not seem to satisfy the CASE conditions given and fails with the SQL0773N error.
However, the data on both the V7 and V8 database are the same. So also the SQL Stored Procedure is the same code on V7 and V8 database.
However, it succeeds on V7 but fails on V8 with the SQL0773N error.
TIA.