IBM Support

PI90500: ABEND04E RC00E70005 DSNXGDT2 M202 WITH EXTERNAL TABLE UDF WITH GRAPHIC DATATYPE PARAMETERS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ABEND04E RC00E70005 DSNXGDT2 M202 may occur for
    stetements that refers to external table UDF with graphic
    datatype parameters
    
    Example:
    
    CREATE FUNCTION USERFEFINDEFUNCTION(ALL_ROWS GRAPHIC(100) CCSID
    UNICODE)
       PARAMETER STYLE DB2SQL
       FENCED
       RETURNS TABLE (A_ROW   GRAPHIC(100) CCSID UNICODE)
       ..
    
    select * FROM TABLE (
        USERFEFINDEFUNCTION( CAST('00000000060000000002001011002022'
        AS char(100) CCSID EBCDIC ))
          ) as itab
    
    Keywords:
    SQLFUNCTION SQLUDF
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 11 and V12 for z/OS users of an                      *
    * SQL statement containing an external                         *
    * table function and the output table                          *
    * column is GRAPHIC or VARGRAPHIC                              *
    * data type.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * ABEND04E at DSNXGDT2 M202 could occur                        *
    * for an SQL statement satisfying all                          *
    * of the following conditions:                                 *
    * 1. It contains an external table                             *
    * function.                                                    *
    * 2. The output table column is GRAPHIC                        *
    * or VARGRAPHIC data type.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available.                         *
    ****************************************************************
    An example is shown below:
    
    CREATE FUNCTION MYUDF1 (INVAR1   GRAPHIC (100))
    PARAMETER STYLE DB2SQL
    FENCED
    RETURNS TABLE (C1   GRAPHIC(100))
    LANGUAGE C
    DETERMINISTIC
    NO SQL
    EXTERNAL NAME "FAE"
    SPECIFIC "FAE"
    PARAMETER CCSID EBCDICC
    NO EXTERNAL ACTION
    SCRATCHPAD 100
    DISALLOW PARALLEL
    WLM ENVIRONMENT D6Y0_UTILS
    CARDINALITY 1000
    ;
    
    SELECT * FROM TABLE (
    MYUDF1( CAST( '00000000060000000002001011002022'
    AS GRAPHIC(100)))
    ) AS ITAB ;
    
    DB2 did not correctly process the aforementioned SQL statement
    and can result in ABEND04E at DSNXGDT2 M202.
    

Problem conclusion

  • DB2 has been modified to correctly process the aforementioned
    SQL statement.
    
    Additional Keywords: SQLUDF SQLTUDF SQLTABLEUDF SQLGRAPHIC
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI90500

  • 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

    2017-11-22

  • Closed date

    2018-01-19

  • Last modified date

    2018-03-01

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

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

    UI53341 UI53350

Modules/Macros

  • DSNXOPML
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI53341

       UP18/02/03 P F802

  • RB10 PSY UI53350

       UP18/02/03 P F802

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":"12.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":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 March 2018