Author Topic: Recommended Db2 on z/OS Service, V13  (Read 872 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Recommended Db2 on z/OS Service, V13
« on: July 27, 2023, 06:34:39 AM »
Placeholder for adding Db2 V13 issues surfaced by CMOD.

Db2 V13 has been/is being tested with CMOD, no issues found to date.

Ed

#zOS #ODF

grahaj7

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Recommended Db2 on z/OS Service, V13
« Reply #1 on: September 15, 2023, 09:39:45 AM »
Thanks, Ed.  Our shop is working on Db2 V13 upgrade now and I came here looking for info just like this.  If anything is found I will let the group know; although I expect it won't be ready to test around here for a couple months yet.

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Recommended Db2 on z/OS Service, V13
« Reply #2 on: September 15, 2023, 02:47:33 PM »
Just confirming, nothing special about Db2 V13 (yet).

CMOD isn't exploiting anything new in V13 (yet), and it's been ages since we hit anything in V12.

Ed
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: Recommended Db2 on z/OS Service, V13
« Reply #3 on: September 20, 2023, 12:30:45 PM »
This is not a new error.  We've been running Db2 V13 for many months now.

We brought up a new Db2 back end and when we brought up ODF we hit:

Quote
ARS0013E ODADMIN DB Error:  DB2 FOR OS/390  ODBC DRIVER   SQLSTATE=58004  ERRLOC=2:56:9   CAF "CONNECT" failed using DB2 system:DCDO   RC=08 and REASON=00f30055  -- SQLSTATE=58004, SQLCODE=-99999, File=arssys.c, Line=955   
                                                       
ARS4337I The ARSODF instance ARCHIVE is terminating         

Explanation is here:
 
https://www.ibm.com/docs/en/db2-for-zos/13?topic=codes-00f30055

Ended up increasing IDBACK to 500 which resolved the issue.

Ed
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
`
« Reply #4 on: March 12, 2024, 09:40:15 PM »
PH56940: ABEND0C4 RC10 AT DSNXOD3 OFFSET04726 MAY OCCUR FOR THE QUERY USING SINGLE INDEX ACCESS

Error description
ABEND0C4 RC10 AT DSNXOD3 OFFSET04726 MAY OCCUR when explaining
an SQL statement whose access path contains single index access.

KEYWORDS: ABEND0C4 SQLEXPLAIN SQLACCESSPATH
Local fix
Avoid Explain on the impacted SQL statement.
Problem summary
****************************************************************
* USERS AFFECTED:                                              *
* All users of Db2 12 and Db2 13 for z/OS who                  *
* explain queries whose access path contains                   *
* single index access.                                         *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* ABEND0C4 at DSNXOD3 offset 04726 may                         *
* happen when explaining an SQL                                *
* statement whose access path contains                         *
* single index access.                                         *
* Abend only happens when the accessed                         *
* storage is not available. Otherwise,                         *
* incorrect information may be populated                       *
* into column IBM_SERVICE_DATA of                              *
* PLAN_TABLE.                                                  *
****************************************************************
* RECOMMENDATION:                                              *
* Apply corrective PTF when available                          *
****************************************************************
For example:
EXPLAIN ALL SET QUERYNO = 1 FOR
SELECT C1,C2 FROM T1
WHERE T1.C1 = 100;
Index IX(C1) is chosen to access T1. When populating data into
PLAN_TABLE, an invalid array index zero is used that may result
in ABEND0C4 at DSNXOD3 offset 04726 or incorrect information in
column IBM_SERVICE_DATA of PLAN_TABLE.
Problem conclusion
Db2 has been modified to correctly process the aforementioned
SQL statement.
Additional Keywords ABEND0C4 SQLEXPLAIN SQLINDEX
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
CMOD has surfaced the following Db2 APAR
« Reply #5 on: March 12, 2024, 09:46:56 PM »
PH57851: ABEND0C4 MAY HAPPEN AT DSNXOGP:0AB44 FOR QUERY WITH MULTI-INDEX ACCESS.

Error description
ABEND0C4 may happen at DSNXOGP:0AB44 for query with multi-index
access.
The abend happens during choosing access path for query.

ADDITIONAL SYMPTOMS:
ABEND0C4 MIDX DSNXOGP OFFSET0AB44 OFFSETAB44 0AB44 AB44
Local fix
BYPASS/CIRCUMVENTION:
Please try adding OPTIMIZE FOR 1 ROW to discourage optimizer
from using multi-index.
Problem summary
****************************************************************
* USERS AFFECTED:                                              *
* All users of Db2 12 and Db2 13 for z/OS who                  *
* has queries whose access path contains                       *
* multiple index access.                                       *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* ABEND0C4 at DSNXOGP offset 0AB44 may                         *
* occur for an SQL statement whose                             *
* access path contains multiple index                          *
* access.                                                      *
****************************************************************
* RECOMMENDATION:                                              *
* Apply corrective PTF when available                          *
****************************************************************
ABEND0C4 at DSNXOGP offset 0AB44 may occur for an SQL statement
whose access path contains multiple index access.
The abend is intermittent depending on the availability of
certain storage.
Problem conclusion
Db2 has been modified to correctly process the aforementioned
SQL statement.
Additional Keywords ABEND0C4 SQLEXPLAIN SQLINDEX MIDX
                    SQLACCESSPATH
« Last Edit: March 12, 2024, 09:53:15 PM by Ed_Arnold »
#zOS #ODF