A fix is available
APAR status
Closed as program error.
Error description
Customer noticed poor signon/transaction ratios after rebinding a plan. After the rebind, a ratio of 1:1 was occurring, which caused a performance degradation. Application was a CICS transaction. It was determined that specifying OPTHINT(' ') (a string of blanks) was causing the signon to not be reusable. Additional Keywords/Symptoms: . If CICS RI component level 2 trace is active, you see a signon event traced for every transaction using the package/plan. Trace entries will look similar to the following: . AP 3260 D2D2 EVENT ABOUT_TO_ISSUE_DB2_SIGNON_WITH_PRIMARY_AUTH(XXXXX ) AP 3261 D2D2 EVENT RETURN_FROM_DB2_SIGNON_WITH_PRIMARY_AUTH(XXXXX ) . In the fully formatted AP 3260 trace entries, the data traced as parameter 4 is the DFHD2CSB control block. In a CICS 670 (4.2) release, the following two fields in this block are relevant: . CSB_THREAD_CREATED is x'04' bit at byte x'B4' in CSB. CSB_INITIAL_STATE is x'40' bit at byte x'B4' in CSB. . When this problem occurs, CSB_THREAD_CREATED bit is on, but CSB_INITIAL_STATE bit is off. Additional Note: If an existing CICS application exploits the defect that this APAR fixes, then the existing behavior of the application may change.
Local fix
To get around this issue, remove the OPTHINT(' ') specification. This can be done by a BIND PLAN or BIND PACKAGE with the REPLACE and RETAIN keywords, and by not specifying the OPTHINT keyword.
Problem summary
**************************************************************** * USERS AFFECTED: ALL DB2 10 and 11 for zOS users of the * * OPTHINT bind option and the CURRENT * * OPTIMIZATION HINT special register. * **************************************************************** * PROBLEM DESCRIPTION: CICS threads are not being reused when * * the CURRENT OPTIMIZATION HINT special * * register is not explicitly set. * **************************************************************** * RECOMMENDATION: * **************************************************************** The CURRENT OPTIMIZATION HINT special register was not checked to see if it was explicitly set when the determination was made for a thread to be reusable. A thread was marked non-reusable even when the special register was not explicitly set to a value different from the OPTHINT bind option.
Problem conclusion
DB2 will check if the CURRENT OPTIMIZATION HINT special register is explicitly set to a value which is not the original before marking the thread non-reusable. Additional Keywords: SQLSPECIALREG OPTHINT OPTHINTS
Temporary fix
Comments
APAR Information
APAR number
PI39860
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-04-24
Closed date
2015-07-22
Last modified date
2016-06-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI29633 UI29634
Modules/Macros
DSNXECW DSNXECWA DSNXECWU
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":"10.1","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":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 June 2016