IBM Support

PH42015: SUPPORT QUERY WITH PAGINATION OFFLOADING TO IBM DB2 ANALYTICS ACCELERATOR V7

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • support query with pagination offloading to IBM Db2 Analytics
    Accelerator V7
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Db2 12 for z/OS users who use IBM Db2                    *
    * Analytics Accelerator V7.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Support query offloading to IBM Db2                          *
    * Analytics Accelerator V7                                     *
    * 1.when there is pagination(OFFSET N                          *
    *   ROWS) in the query.                                        *
    * OR                                                           *
    * 2.when there is FETCH FIRST N ROWS                           *
    *   clause in the query and the N is                           *
    *   a parameter marker or a host                               *
    *   variable.                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    Before this apar, SQLCODE -4742 with reason code 11 will be
    returned when trying to offload a query with the following two
    features to IBM Db2 Analytics Accelerator V7:
    1.when there is pagination(OFFSET N
      ROWS) in the query.
        SELECT * FROM T1
        ORDER BY C1
        OFFSET 10 ROWS;
    OR
    2.when there is FETCH FIRST N ROWS
      clause in the query and the N is
      a parameter marker or a host
      variable.
        SELECT * FROM T1
        ORDER BY C1
        FETCH FIRST ? ROWS ;
    This apar will support offloading of the above two kinds of
    queries successfully to IBM Db2 Analytics Accelerator V7.
    Additional Keywords:
        IDAAV7R1/K IDAAV7R5/K
        SQLCODE4742 SQLFFNR SQLHOSTVAR PARAMETERMARKER SQLPMK
        SQLPMARKER
    

Problem conclusion

  • With this apar, query with pagination(OFFSET N ROWS) or query
    with FETCH FIRST N ROWS(when N is parameter marker or host
    variable) will be offloaded to IBM Db2 Analytics Accelerator
    V7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42015

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-10

  • Closed date

    2022-01-28

  • Last modified date

    2022-03-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI79123

Modules/Macros

  • DSNXONZO DSNXOBAC DSNXOBZO
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI79123

       UP22/02/08 P F202

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0"}]

Document Information

Modified date:
02 March 2022