DB2 - Problembeschreibung
Problem IC97408 | Status: Geschlossen |
IMPORT AND EXPORT FAIL WITH SQL1031N WHEN CONNECTING TO DB BY DB2DSDRIVER.CFG. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problembeschreibung: | |
Data Server Clients and Servers can connect to remote database by using db2dsdriver.cfg, but IMPORT/EXPORT commands fail to SQL1031N. The following steps illustrate this problem. 1. Prepare db2dsdriver.cfg like as below on Data Server Clients or Servers <configuration> <dsncollection> <dsn alias="SAMPLE" name="SAMPLE" host="db2srv" port="50000"> </dsn> </dsncollection> <databases> <database name="SAMPLE" host="db2srv" port="50000"> </database> </databases> </configuration> 2. Connect to the database, then perform export. db2 connect to sample user <username> using <password> Database Connection Information Database server = DB2/AIX64 10.5.1 SQL authorization ID = DB2INST1 Local database alias = SAMPLE db2 "export to org.ixf of ixf select * from org" SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031 This error can be bypassed by adding a database catalog as below: db2 catalog tcpip node db2srv remote db2srv server 50000 db2 catalog database sample at node db2srv NOTE: Data Server Drivers has a restriction that does not support db2Import/db2Export nor db2Load APIs. But this restriction should not be applied to Data Server Clients and Servers. Please see the following page for details of the restrictions on Data Server Drivers. IBM Data Server Driver restrictions http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/topic/com.ibm.swg .im.dbclient.install.doc/doc/r0054687.html | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users who use IMPORT/EXPORT utilities, and connecting to the * * database by using db2dsdriver.cfg. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please upgrade to DB2 V10.5 FixPack 4 or later. * **************************************************************** | |
Local-Fix: | |
Catalog the database name in the database catalog. | |
verfügbare FixPacks: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Lösung | |
This problem was first fixed in DB2 V10.5 FixPack 4. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 04.11.2013 15.09.2014 15.09.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.5.0.4 |