DB2 - Problembeschreibung
Problem IC63203 | Status: Geschlossen |
SAVING/UPDATING AN EXISTING STORED PROCEDURE ON DB2 FOR Z/OS MIG HT FAIL WITH A SYNTAX ERROR WHEN USING VISUAL STUDIO .NET ADDINS | |
Produkt: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problembeschreibung: | |
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-Zusammenfassung: | |
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. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 UDB Version 9.7, Fixpak 1 | |
Workaround | |
see LOCAL FIX | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 15.09.2009 22.12.2009 22.12.2009 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
Problem behoben lt. FixList in der Version | |
9.7.0.1 |