A fix is available
APAR status
Closed as program error.
Error description
This apar adds a query to DSNTIJPM to report native stored procedures and non-inline SQL functions created in V9 or earlier that can incur autobind(autbndxx service task) at first use. The many autobind service tasks can deadlock with each other and interfere with other jobs.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * The following Db2 11 for z/OS and * * Db2 12 for z/OS users are affected: * * o Users who are migrating or those who * * have already migrated to Db2 12 for * * z/OS * * o Users of Db2 install DSNTIDxx CLIST * * member * **************************************************************** * PROBLEM DESCRIPTION: * * 1. A report to list native SQL * * procedures and compiled SQL scalar * * functions created in Db2 9 for z/OS * * is missing from the Db2 12 * * pre-migration checkout jobs (DSNTIJPM * * in Db2 12 and DSNTIJPC in Db2 11). * * 2. Private copies of the DSNTIDxx * * CLIST member may have a STATCLGSRT * * entry with a DS SCP (data sharing * * scope) setting of 'G', instead of * * 'M'. * **************************************************************** * RECOMMENDATION: * * APPLY PTF * **************************************************************** 1. Native SQL procedures and compiled SQL scalar functions created in Db2 9 need to be explicity alter regenerated in order to avoid ongoing implicit regeneration by Db2 after migrating to Db2 12. However, the Db2 12 pre-migration checkout jobs DSNTIJPM (in Db2 12) and DSNTIJPC (in Db2 11) do not provide any reports to identify such action. 2. Private copies of the DSNTIDxx CLIST member may have a STATCLGSRT entry with a DS SCP (data sharing scope) value of 'G', instead of 'M'.
Problem conclusion
1. This APAR adds a new report (REPORT23) to Db2 12 pre-migration checkout jobs: DSNTIJPM (in Db2 12) and DSNTIJPC (in Db2 11). These jobs use the following query SELECT CASE ROUTINETYPE WHEN 'F' THEN 'FUNCTION' ELSE 'PROCEDURE' END , RTRIM(SCHEMA) || '.' || RTRIM(NAME) , RTRIM(SCHEMA) || '.' || RTRIM(SPECIFICNAME) , RTRIM(VERSION) FROM SYSIBM.SYSROUTINES WHERE RELCREATED = 'M' AND (ORIGIN = 'N' OR (ORIGIN = 'Q' AND INLINE='N')) ORDER BY ROUTINETYPE, SCHEMA, SPECIFICNAME to generate REPORT23 which identifes all native SQL procedures and compiled SQL scalar functions which were created in Db2 9. The routines listed in this report need to be alter regenerated explicitly before beginning migration to Db2 12, immediately after migration to Db2 12, or after migration to Db2 12 if you have not performed such action yet. The following example SQL shows how to alter regenerate a native SQL procedure: ALTER PROCEDURE schema.name REGENERATE VERSION version-id The following example SQL shows how to alter regenerate a compiled SQL scalar function: ALTER SPECIFIC FUNCTION schema.specificname REGENERATE VERSION version-id 2. This APAR also adds a HOLD action for users who maintain private copies of the DSNTIDxx CLIST member to change their STATCLGSRT DS SCP setting to 'M', if it is currently 'G'.
Temporary fix
Comments
APAR Information
APAR number
PH07660
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
2019-01-23
Closed date
2019-03-22
Last modified date
2019-05-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI62100 UI62101
Modules/Macros
DSNTIJPM DSNTIJPC
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:
02 May 2019