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 IC98333 Status: Geschlossen

SQL3022N - SQL ERROR "-104" EXECUTING DB2MOVE WITH EXPORT FROM
DB2 z/OS DATABASE

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
Running db2move with export against a DB2 z/OS database gives 
error.  For example: 
 
db2move <dbname> export -tc <tabledefiner> -tn <tablename> -u 
'<user>' -p 
'<password>' 
 
Message in the file db2diag.log: 
2013-10-07-10.31.30.325675-300 I3439124E728          LEVEL: 
Error 
(Origin) 
PID     : 18297                TID : 140737278388000 PROC : 
db2move 
INSTANCE: db2inst1               NODE : 000            DB   : 
XXXX 
APPID   : O6DFE162.DA93.131007153128 
HOSTNAME: xxxxxxxxxxxxxxxxxx 
FUNCTION: DB2 UDB, database utilities, sqlueAllocAndDescSqlda, 
probe:3863 
MESSAGE : SQL3022N  An SQL error "" occurred while processing 
the 
SELECT string 
          in the Action String parameter. 
DATA #1 : String, 28 bytes 
Export SQL failed processing 
DATA #2 : Hexdump, 32 bytes 
0x00007FFFEB614D44 : 5345 4C45 4354 202A 2046 524F 4D20 2244 
SELECT 
* FROM "D 
0x00007FFFEB614D54 : 4241 222E 2254 4255 4C4B 4845 4144 2200 
BA"."TABLEXXX". 
 
2013-10-07-10.41.28.818258-300 I3439853E571          LEVEL: 
Error 
PID     : 18899                TID : 140737278388000 PROC : 
db2move 
INSTANCE: db2xd4               NODE : 000            DB   : XXXX 
APPID   : O6DFE162.DB4F.131007154126 
HOSTNAME: xxxxxxxxxxxxxxxxxxxx 
FUNCTION: DB2 UDB, database utilities, sqluCheckSqlca, probe:298 
MESSAGE : SQL0104N  An unexpected token "" was found following 
"". 
Expected 
          tokens may include:  "". 
DATA #1 : String, 17 bytes 
sqluiDescribe.SQC 
DATA #2 : String, 44 bytes 
Error from Import/Export or Load Processing. 
 
 
 
Message generated into EXPORT.out: 
Connecting to database XXXX ... successful!  Server : DB2 for 
MVS V8.1.5 
 
 
***  Table "DBA     "."TABLEXXX":  ERROR -3022.  Check message 
file tab1.msg! 
***  SQLCODE:  -3022  -  SQLSTATE: 
***  SQL3022N  An SQL error "-104" occurred while processing the 
SELECT string in the Action String parameter. 
 
**Error occured -1 
 
 
 
Message in file .msg for the corresponding table: 
SQL3022N  An SQL error "-104" occurred while processing the 
SELECT string in 
the Action String parameter. 
 
SQL0104N  An unexpected token " " was found following "". 
Expected tokens may 
include:  "FOR WITH FETCH ORDER UNION EXCEPT QUERYNO OPTIMIZE". 
 
SQLSTATE=42601 
 
 
 
The error occurs because db2move mistakenly passed an extra NULL 
byte 00 to the DB2 export utility.  We can see it in the trace 
file: 
           SQLSTT OBJDSS                    (ASCII) 
(EBCDIC) 
         0 1 2 3 4 5 6 7  8 9 A B C D E F   0123456789ABCDEF 
0123456789ABCDEF 
  0000  0035D0030001002F 2414000000002553   .5...../$.....%S 
..}............. 
  0010  454C454354202A20 46524F4D20224442   ELECT * FROM "DB 
.<........!(.... 
  0020  412020202020222E 22..........................   A 
"."TABLEXX 
............<... 
  0030  ...................                          X".. 
..... 
 
This just cause issue for DB2 z/OS database. (Running a db2move 
export on DB2 LUW server, there is the extra 00 in the trace, 
but db2move completes successfully.  It seems that DB2 LUW 
server can tolerate the extra 00.)
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1 Fix Pack 4.                      * 
****************************************************************
Local-Fix:
Use DB2 export command directly
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
Problem was first fixed in DB2 Version 10.1 Fix Pack 4.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC98889 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
13.12.2013
26.06.2014
26.06.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.4 FixList