A fix is available
APAR status
Closed as program error.
Error description
This apar will remove the DDLs in DSNTIJSG for the Query Optimization database and plan tables.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * All users of DB2 11 for z/OS and * * DB2 12 for z/OS installation job * * DSNTIJSG are affected by this * * change. * **************************************************************** * PROBLEM DESCRIPTION: * * Job DSNTIJSG creates explain tables * * in the SYSIBM schema that are no * * longer used by the query * * optimization tools that they were * * created for. * **************************************************************** * RECOMMENDATION: * * APPLY PTF * **************************************************************** Job DSNTIJSG is used to bind the packages and plans and create user-maintained databases for various DB2-supplied facilities. Job step DSNTIJQ creates the DB2 query optimization database, a collection of system profile and explain tables in the SYSIBM schema. Currently, these explain tables created in the SYSIBM schema are no longer used by the query optimization tools they were originally created for.
Problem conclusion
Currently, DDLs to create explain tables are found in jobs DSNTIJSG and DSNTESC. To avoid repeating the same DDLs to create the explain tables in both jobs, explain tables that are created in the SYSIBM schema and which are no longer used by the query optimization tools are no longer created by job DSNTIJSG. DDLs for creating the following explain tables, their containing table spaces (where applicable), indexes, auxiliary tables and containing LOB tablespaces are removed from the installation job DSNTIJSG, job step DSNTIJQ: TABLESPACE DSNOPTT8 LOB TABLESPACE DSNMQLTS LOB TABLESPACE DSNOQIL1 LOB TABLESPACE DSNOQIL2 TABLE SYSIBM.PLAN_TABLE INDEX SYSIBM.PLAN_TABLE_IDX1 TABLE SYSIBM.DSN_STATEMNT_TABLE INDEX SYSIBM.DSN_STATEMNT_TABLE_IDX1 TABLE SYSIBM.DSN_FUNCTION_TABLE INDEX SYSIBM.FUNC_EXPIDX1 TABLE SYSIBM.DSN_PREDICAT_TABLE INDEX SYSIBM.DSN_PREDICAT_TABLE_IDX1 INDEX SYSIBM.DSN_PREDICAT_TABLE_IDX2 TABLE SYSIBM.DSN_STRUCT_TABLE INDEX SYSIBM.DSN_STRUCT_TABLE_IDX1 TABLE SYSIBM.DSN_PGROUP_TABLE INDEX SYSIBM.DSN_PGROUP_TABLE_IDX1 TABLE SYSIBM.DSN_PTASK_TABLE INDEX SYSIBM.DSN_PTASK_TABLE_IDX1 TABLE SYSIBM.DSN_FILTER_TABLE INDEX SYSIBM.DSN_FILTER_TABLE_IDX1 TABLE SYSIBM.DSN_DETCOST_TABLE INDEX SYSIBM.DSN_DETCOST_TABLE_IDX1 TABLE SYSIBM.DSN_SORT_TABLE INDEX SYSIBM.DSN_SORT_TABLE_IDX1 TABLE SYSIBM.DSN_SORTKEY_TABLE INDEX SYSIBM.DSN_SORTKEY_TABLE_IDX1 TABLE SYSIBM.DSN_PGRANGE_TABLE INDEX SYSIBM.DSN_PGRANGE_TABLE_IDX1 TABLE SYSIBM.DSN_VIEWREF_TABLE INDEX SYSIBM.DSN_VIEWREF_TABLE_IDX1 TABLE SYSIBM.DSN_QUERY_TABLE INDEX SYSIBM.DSN_QUERY_TABLE_IDX1 INDEX SYSIBM.DSN_QUERY_TABLE_IDX2 AUX TABLE SYSIBM.DSN_QUERY_AUX INDEX SYSIBM.DSN_QUERY_AUXINX TABLE SYSIBM.DSN_QUERYINFO_TABLE AUX TABLE SYSIBM.DSN_QUERYINFO_AUX INDEX SYSIBM.DSN_QUERYINFO_AUXINX AUX TABLE SYSIBM.DSN_QUERYINFO_AUX2 INDEX SYSIBM.DSN_QUERYINFO_AUXINX2 TABLE SYSIBM.DSN_COLDIST_TABLE TABLE SYSIBM.DSN_KEYTGTDIST_TABLE TABLE SYSIBM.DSN_STAT_FEEDBACK TABLE SYSIBM.DSN_PREDICATE_SELECTIVITY INDEX SYSIBM.DSN_PREDSEL_IX1 DDLs for creating the following system profile tables, their containing database and table space, index, and storage group remain in the installation job DSNTIJSG: STOGROUP DSNOPTSG DATABASE DSNOPTDB TABLESPACE DSNOPTTS TABLE SYSIBM.DSN_PROFILE_TABLE UNIQUE INDEX SYSIBM.DSN_PROFILE_TABLE_IX_ALL INDEX SYSIBM.DSN_PROFILE_TABLE_IX2_ALL TABLE SYSIBM.DSN_PROFILE_HISTORY TABLE SYSIBM.DSN_PROFILE_ATTRIBUTES UNIQUE INDEX SYSIBM.DSN_PROFILE_ATTRIBUTES_IX_ALL TABLE SYSIBM.DSN_PROFILE_ATTRIBUTES_HISTORY
Temporary fix
Comments
APAR Information
APAR number
PI86450
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-08-25
Closed date
2017-11-21
Last modified date
2018-01-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI52051 UI52052
Modules/Macros
DSNTIJSG
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 January 2018