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 IT21739 Status: Closed

ADMIN_GET_TAB_COMPRESS_INFO TABLE FUNCTION RETURNED SQL0901N ERROR WITH
LOAD PENDING TABLESPECE HAVING PARTITIONED TABLE.

product:
DB2 FOR LUW / DB2FORLUW / B10 - DB2
Problem description:
When a tablespace was in load pending state and
sysproc.admin_get_tab_compress_info() was called, it returned
SQL0901N error.
SQL0901N is not appropriate error number for this case.
This happenes when a partitioned table exists on the
tablesapace.
If the tablespace does not have partitioned table in it,
SQL0668N is returned.

The following is an example.

$ db2 "create table test_tab (col1 char(5) not null , col2
char(5) not null ) distribute by hash (col1) partition by range
(col2) (part part0 starting('1') ending('2'))" 
$ db2 "load from /dev/null of del method P (1) replace into
test_tab nonrecoverable"

* Aborting load with pressing Ctrl+C.

db2 "SELECT VARCHAR(TABSCHEMA,30) TABSCHEMA,VARCHAR(TABNAME,30)
TABNAME, LOAD_STATUS, NO_LOAD_RESTART FROM
SYSIBMADM.ADMINTABINFO WHERE LOAD_STATUS  'NULL'"


TABSCHEMA                      TABNAME                       
LOAD_STATUS  NO_LOAD_RESTART
------------------------------ ------------------------------
------------ ---------------
E105Q7A                        TEST_TAB                      
PENDING      N

$ db2 "select * from
table(sysproc.admin_get_tab_compress_info(NULL,NULL))"

TABSCHEMA                                                       
TABNAME 

HMON_COLLECTION                                                 
0               0 DATA                                        0 
0                    0                 0                      0 
0
SQL0901N  The SQL statement or command failed because of a
database system
error. (Reason "".)  SQLSTATE=58004
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* User using admin_get_tab_compress_info table function.       *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Version 11.1 Mod 2 Fix Pack 2.                    *
****************************************************************
Local Fix:
None.
SQL0901N can be safely ignored.
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT16272 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
03.08.2017
17.10.2017
17.10.2017
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)