DB2 - Problem description
Problem IC98018 | Status: Closed |
IF A TABLE HAS DB2SECURITYLABEL COLUMN, ADMIN_MOVE_TABLE FAILED WITH SQL0683N. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
You may fail to move table that has a DB2SECURITYLABEL column (row level security label) using ADMIN_MOVE_TABLE because if the user will return the following message. The message might be different on different DB2 version or fixpack level. ADMIN_MOVE_TABLE failed with SQL0683N: SQL0683N The specification for column, attribute, user-defined type or function "USER_SECURITY" contains incompatible clauses. SQLSTATE=42842 If there's row level LBAC defined on the table, DB2 used to block the move table in ADMIN_MOVE_TABLE because if the user cannot access all rows in the LBAC table, the move may cause data loss. However, if the user id has all privileges to access all rows, and DBA is aware of that if the user cannot access all rows, the move may cause data loss, the APAR is to provide a new option ALLOW_RLBAC to allow the move data. The KEEP and ALLOW_RLBAC may be required to be specified together. For example, call admin_move_table('TEST','TAB1','newtbs','newtbs','newtbs','','', '','','ALLOW_RLBAC, COPY_USE_LOAD, KEEP','MOVE,TRACE') The original table will be renamed and kept in the table space so that the original table can be used for data recovery purpose in case data loss during move due to access permission. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.5 Fix Pack 4. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Solution | |
First fixed in Version 10.5 Fix Pack 4. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 28.11.2013 08.09.2014 08.09.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |