home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

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
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 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 FixList
9.5.0.7 FixList