A fix is available
APAR status
Closed as program error.
Error description
IFCID 055 has an incorrect value for QW0055NI_Off. This is the scenario: Start a performance trace for IFCID 55 (SET CURRENT SQLID) for an ID longer than 8 bytes. The generated IFCID 55 trace record is processed via IFI READA. The IFI return area correctly shows a truncated value for the 8-byte field QW0055NI. In this case, field QW0055NI_Off should contain the offset to DSECT QW0055NI_D with the un-truncated value. Instead, the offset value in QW0055NI_Off is 2, and points into QW0055OI. This is a V12 forward fit of APAR PI67767.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * All DB2 12 for z/OS users of the IFCID 55 trace. * **************************************************************** * PROBLEM DESCRIPTION: * * Incorrect IFCID 55 (IFCID055) trace records can be returned * * when non-alphanumeric Unicode characters are written for * * the CURRENT SQLID special register. * **************************************************************** * RECOMMENDATION: * **************************************************************** Incorrect IFCID 55 trace records can be returned when non-alphanumeric Unicode characters are written for the CURRENT SQLID special register. The following example helps to illustrate the problem. Start a performance trace for IFCID 55. Specify that the trace output should be in Unicode, and then issue the SQL statement: SET CURRENT SQLID = 'IBMDB2$¢'; Note that some non-alphanumeric characters in Unicode may need more than one byte per character to be represented and that the new SQLID 'IBMDB2$¢' is longer than eight bytes in Unicode because of this. The IFCID 55 trace record shows a truncated value correctly for the new SQLID field QW0055NI. However, the value of the field QW0055NI_Off (offset from QW0055 to the new SQLID field) is incorrect. Also, the field QW0055NI_Len (length of the new SQLID field) is missing in the trace record. The above errors occur because DB2 does not set the fields QW0055NI_Off and QW0055NI_Len for the IFCID055 trace record properly.
Problem conclusion
DB2 code has been modified to set the fields QW0055NI_Off and QW0055NI_Len correctly to prevent the incorrect IFCID055 trace records. Please note, APAR PI67767 provides the solution for DB2 10 and DB2 11. Additional Keywords: IFCID055 SQLCCSID DB2INCORR/K INCORROUT SQLINCORR SQLINCORROUT
Temporary fix
Comments
APAR Information
APAR number
PI67898
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-08-22
Closed date
2016-10-21
Last modified date
2017-04-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI41908
Modules/Macros
DSNXRSPG
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RC10 PSY UI41908
UP16/11/14 P F611
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":"12.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":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
13 April 2017