home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC63203 Status: Closed

SAVING/UPDATING AN EXISTING STORED PROCEDURE ON DB2 FOR Z/OS MIG HT FAIL
WITH A SYNTAX ERROR WHEN USING VISUAL STUDIO .NET ADDINS

product:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problem description:
When using the Visual Studio .NET add-ins (VSAI) to update an 
existing stored procedure on DB2 for z/OS, the stored procedure 
may fail to compile with a syntax error. 
. 
This would happen for example if you went into "Open Defintion" 
from the Server Explorer of a stored procedure, then modified 
a property of the stored procedure, and clicked on "Save". 
The problem would happen if the "SQL Body" frame contained the 
entire "CREATE PROCEDURE" statement instead of the "SQL Body". 
. 
Because the "SQL Body" frame shows the entire CREATE PROCEDURE 
statement, the syntax of the new "CREATE PROCEDURE" statement 
that is built by VSAI will contain a "CREATE PROCEDURE" 
statement embedded inside the main "CREATE PROCEDURE" statement, 
 which would cause the SQL compiler to fail.
Problem Summary:
Users Affected:  Visual Studio .NET addin users 
Problem Description: 
When using the Visual Studio .NET add-ins (VSAI) to update an 
existing stored procedure on DB2 for z/OS, the stored procedure 
may fail to compile with a syntax error.
Local Fix:
Change the "SQL Body" frame by only including the SQL Body 
portion of the stored procedure.  The SQL Body is the code block 
between the "BEGIN" and "END".  The BEGIN and END need to be 
included as well.
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 UDB Version 9.7, Fixpak 1
Workaround
see LOCAL FIX
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
15.09.2009
22.12.2009
22.12.2009
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList