DB2 - Problem description
Problem IC71084 | Status: Closed |
ADMIN_CMD() FOR IMPORT TABLE DOESN'T PROPERLY ACCEPT THE CLAUSE 'USING SCHEMA <SCHEMA-ID>' | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
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 Summary: | |
**************************************************************** * 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: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
Fixed in V95fp7. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 10.09.2010 12.10.2010 12.10.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP7, 9.5.FP7/, 9.7. | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.1.0.7 | |
9.5.0.7 |