IBM Support

PI49613: ABEND0C4 RC00000038 AT DSNXOGP OFFSET9AB4 FOR A SQL STATEMENT REFERENCING A TABLE USER DEFINED FUNCTION AND WITH AN OUTER JOIN

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ABEND0C4 RC00000038 AT DSNXOGP OFFSET9AB4 FOR A SQL STATEMENT
    REFERENCING A TABLE USER DEFINED FUNCTION AND WITH AN OUTER JOIN
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 and 11 for z/OS users of an SQL   *
    *                 statement containing a user defined table    *
    *                 function in outer joins.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: An abend ABEND04E at location DSNXGRDS  *
    *                      DSNXOGP OFFSET9AB4 or unpredictable     *
    *                      problems may occur for an SQL           *
    *                      statement that satisfies all            *
    *                      of the following conditions:            *
    *                      1. The statement contains a table       *
    *                      user defined function.                  *
    *                      2. The table user defined function      *
    *                      contains a sideway reference argument.  *
    *                      3. The table user defined function      *
    *                      is used in an outer join.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    For Example,
    
    SELECT * FROM T1 JOIN T2 ON 1 = 1
                     JOIN TABLE
                       (SELECT RAND() FROM TABLE(TUDF(T2.C1))) TX
                     LEFT OUTER JOIN T3 ON 1 = 1
             JOIN T4 ON 1 = 1;
    
    
    where TUDF is a table user defined function.
    
    An abend or unpredictable problems may occur for the above
    statement because DB2 did not handle the sideway reference
    in the argument of the table user defined function correctly.
    

Problem conclusion

  • DB2 has been modified to correctly process the aforementioned
    SQL statement.
    
    Additional keywords: SQLFULL SQLTUDF SQLTABLEUDF
                         SQLJOIN SQLOUTERJOIN SQLFULLJOIN SQLOUTER
                         SQLLEFTJOIN SQLLEFT SQLRIGHTJOIN SQLRIGHT
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI49613

  • 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-09-29

  • Closed date

    2016-01-12

  • Last modified date

    2016-03-02

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

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

    UI34394 UI34395

Modules/Macros

  • DSNXOJAJ
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI34394

       UP16/02/05 P F602

  • RB10 PSY UI34395

       UP16/02/05 P F602

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:
02 March 2016