DB2 - Problembeschreibung
Problem IC71084 | Status: Geschlossen |
ADMIN_CMD() FOR IMPORT TABLE DOESN'T PROPERLY ACCEPT THE CLAUSE 'USING SCHEMA <SCHEMA-ID>' | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problembeschreibung: | |
the same statement from clp non ADMIN_CMD works fine but does not work in ADMIN_CMD example : IMPORT FROM "c:\output\product2.asc" OF DEL METHOD P (1, 2, 3, 4, 5, 6, 7) XMLPARSE PRESERVE WHITESPACE XMLVALIDATE USING SCHEMA ZENGLAND.PRODUCT MESSAGES ON SERVER REPLACE INTO ZENGLAND.PRODUCT (PID, NAME, PRICE, PROMOPRICE, PROMOSTART, PROMOEND, DESCRIPTION) executing this by sysproc.admin_cmd() gives the following : An unexpected token "SCHEMA" was found following "SCHEMA". Expected tokens may include: "XDS".. SQLCODE=-104, SQLSTATE=42601, DRIVER=3.61.64 | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users of admin_cmd * **************************************************************** * PROBLEM DESCRIPTION: * * IMPORT FROM "c:\output\product2.asc" OF DEL METHOD P (1, 2, * * 3, * * 4, 5, 6, 7) XMLPARSE PRESERVE WHITESPACE XMLVALIDATE USING * * * * SCHEMA ZENGLAND.PRODUCT MESSAGES ON SERVER REPLACE INTO * * * * ZENGLAND.PRODUCT (PID, NAME, PRICE, PROMOPRICE, PROMOSTART, * * * * PROMOEND, DESCRIPTION) * * * * * * * * * * * * executing this by sysproc.admin_cmd() gives the following : * * * * * * * * An unexpected token "SCHEMA" was found following "SCHEMA". * * * * Expected tokens may include: "XDS".. SQLCODE=-104, * * * * SQLSTATE=42601, DRIVER=3.61.64 * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 v95fp7/ V97 * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Fixed in V95fp7. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 10.09.2010 12.10.2010 12.10.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.5.FP7, 9.5.FP7/, 9.7. | |
Problem behoben lt. FixList in der Version | |
9.1.0.7 | |
9.5.0.7 |