suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT36731 Status: Closed

ADMIN_MOVE_TABLE FAILS WITH SQL0010N - WHEN RUNSTATS STATS_PROFILE IS
GREATER THAN 1024 CHARACTERS.

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem description:
When trying to run admin_move_table, user may experience
SQL0010N if length of STATS PROFILE is greater than 1024
characters.

2021-04-26-20.09.51.279925-300 E83223A998           LEVEL: Error
PID     : 10093018             TID : 119155         PROC :
db2sysc
INSTANCE: db2inst1             NODE : 000           DB   :
SAMPLE
HOSTNAME: XXXXXXX
EDUID   : 119155               EDUNAME: db2agent (LHAWRKP1) 0
FUNCTION: DB2 UDB, database application extension for utilities,
adminotm_online_table_move, probe:28474
DATA #1 : String, 8 bytes
CCDB2
DATA #2 : String, 31 bytes
LHA_I_TAX_MAILING_ADDRESS_STGNG
DATA #3 : String, 4 bytes
MOVE
DATA #4 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -10   sqlerrml: 70
 sqlerrmc: 'RUNSTATS ON TABLE "CCDB2
"."LHA_I_TAX_MAILING_ADDRESS_STGNGAMZtPXt
 sqlerrp : SQL11050
 sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
0x00000000
           (4) 0x00000000      (5) 0x00000000      (6)
0x00000000
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)

           (7)      (8)      (9)      (10)        (11)
 sqlstate: 42603


Trace of admin_move_table will show

. . . . . (529)ENTRY: adminotm_fillSqlca		 | 3 | 65541 |
13a8c8c28
. . . . . . (546)DATA: adminotm_fillSqlca		 | 1 |  SQL0010N  The
string constant beginning with "'RUNSTATS ON TABLE "CCDB2
"."LHA_I_TAX_MAILING_ADDRESS_STGNGAMZtPXt"" does not have an
ending string delimiter.  SQLSTATE=42603
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* All                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to fixpack inclusive of this APAR fix.               *
****************************************************************
Local Fix:
As a workaround you can use runstats unset profile and set it
again after admin_move_table.
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* All                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to fixpack inclusive of this APAR fix.               *
****************************************************************
Comment
Fixed in v11.5.7.0
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.04.2021
01.12.2021
01.12.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)