A fix is available
APAR status
Closed as program error.
Error description
The order of the data unloaded by DB2 HPU is incorrect if the following conditions apply: - a logical unload with an ORDER CLUSTER clause is requested - the unload is performed in native mode - the data are to be unloaded from an image copy (COPYDDN option) and the DDLDDN option is specified - in the definition of the clustering index provided to DB2 HPU, the sort attribute of one of the columns involved in the index key is not specified explicitly (none of ASC/DESC/RANDOM is specified) For example: If the clustering index is defined as follows: CREATE UNIQUE INDEX ME.MYCLUSTIX ON ME.MYRTABLE (COL00001 ASC,COL00002 DESC,COL00003 ) CLUSTER; according to COL00001 ASC,COL00002 DESC (the COL00003 column is ignored). Other keywords follow: PB12847 SORT SORTING ASCENDING DESCENDING ASC DSC reverse expected unexpected
Local fix
In the DDLDDN data set, add the ASC attribute to the columns where no order attribute is set.
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 High Performance Unload. * **************************************************************** * PROBLEM DESCRIPTION: The order of the data unloaded by DB2 * * HPU is incorrect if the following * * conditions apply: * * - a logical unload with an ORDER * * CLUSTER clause is requested * * - the unload is performed in native * * mode * * - the data are to be unloaded from an * * image copy (COPYDDN option) and the * * DDLDDN option is specified * * - in the definition of the clustering * * index provided to DB2 HPU, the sort * * attribute of one of the columns * * involved in the index key is not * * specified explicitly (none of * * ASC/DESC/RANDOM is specified) * * For example: If the clustering index * * is defined as follows: * * CREATE UNIQUE INDEX * * ME.MYCLUSTIX * * ON * * ME.MYRTABLE * * (COL00001 ASC,COL00002 DESC, * * COL00003 ) CLUSTER; * * the data unloaded by the following * * unload: * * UNLOAD TABLESPACE * * COPYDDN IMAG DDLDDN DDL * * SELECT * FROM ME.MYTABLE * * ORDER CLUSTER * * OUTDDN(SYSREC) * * is not sorted according to the * * clustering key (COL00001 ASC,COL00002 * * DESC,COL00003) but only according to * * COL00001 ASC,COL00002 DESC (the * * COL00003 column is ignored). * * PB12847 * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** The inzctrl and oddlx2y modules were changed.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PI47610
Reported component name
DB2 HI PERF UNL
Reported component ID
5697F4400
Reported release
420
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-08-26
Closed date
2015-10-23
Last modified date
2015-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
INZUTILK
Fix information
Fixed component name
DB2 HI PERF UNL
Fixed component ID
5697F4400
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":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 February 2021