IBM Support

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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error 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> ')
    );
    

Local fix

  • Use other connectors than DAS to connect to server through Data
    Studios.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to v9.7fp11 or above                                  *
    ****************************************************************
    

Problem conclusion

  • First fixed in v9.7fp11
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT00577

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-03-24

  • Closed date

    2015-10-23

  • Last modified date

    2015-10-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IT13340 IT13359

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT00577

Modified date: 23 October 2015