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

INCORRECT SELECT STATEMENT GENERATED IN DATA STUDIO USING CUSTOM FILTER ON
TAB "SELECT THE REORGANIZATION POLICY OPTIONS"

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
On Windows, while using Data Studio, If the queries were run 
through DAS, content specified inside two '%' signs or adjacent 
to single '%' sign can be omitted by windows, as Windows env 
variable. 
 
For example: 
CALL SYSPROC.AUTOMAINT_SET_POLICY ( 'AUTO_REORG', BLOB('<?xml 
version="1.0" encoding="UTF-8"?><DB2AutoReorgPolicy 
xmlns="http://www.ibm.com/xmlns/prod/db2/autonomic/config"><Reor 
gOptions dictionaryOption="Keep" indexReorgMode="Offline" 
useSystemTempTableSpace="false"/><ReorgTableScope 
><FilterClause>TABSCHEMA LIKE ''%OPM%'' or TABSCHEMA LIKE 
''%SYS%''</FilterClause></ReorgTableScope ></DB2AutoReorgPolicy> 
') ); 
 
Can be treated as: 
 
CALL SYSPROC.AUTOMAINT_SET_POLICY ( 'AUTO_REORG', BLOB('<?xml 
version="1.0" encoding="UTF-8"?><DB2AutoReorgPolicy 
xmlns="http://www.ibm.com/xmlns/prod/db2/autonomic/config"><Reor 
gOptions dictionaryOption="Keep" indexReorgMode="Offline" 
useSystemTempTableSpace="false"/><ReorgTableScope 
><FilterClause>TABSCHEMA LIKE '''' or TABSCHEMA LIKE 
''''</FilterClause></ReorgTableScope ></DB2AutoReorgPolicy> ') 
);
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to v9.7fp11 or above                                  * 
****************************************************************
Local Fix:
Use other connectors than DAS to connect to server through Data 
Studios.
Solution
First fixed in v9.7fp11
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.03.2014
23.10.2015
23.10.2015
Problem solved at the following versions (IBM BugInfos)
9.7.FP11
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.11 FixList