IBM Support

PH46607: OPENING VIEW BASED ON MORE THAN ONE TABLE MIGHT RESULT IN ETI714E AND SQLCODE -171.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using Table Editor to open a view based on more than one
    table error message “ETI714E SQL ERROR: The data type, length or
    value of argument 1 of RID is invalid (SQL code: -171 Program:
    ETI2DB2 Statement: 1971 Type: PREPARE)” might occur.
    

Local fix

  • As long as they are just trying to browse in Table Editor:
    1..They should be able to press enter after getting the error
    message and browse the view.
    OR
    2..They can open the view in SQL mode (command SQL on panel
    ETI$DPSC) and open the view from that panel (ETI$DSQL).  This
    option will not have the ORDER BY RID statement in the end of
    the SELECT, so it doesn't give an error and they should be able
    to browse the view.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM Db2 Table Editor for z/OS       *
    ****************************************************************
    * PROBLEM DESCRIPTION: An error occurred when trying to open   *
    *                      view that combines data from multiple   *
    *                      tables.                                 *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    The error ETI714E - SQL ERROR: THE DATA TYPE, LENGTH, OR VALUE
    OF ARGUMENT 1 OF RID IS INVALID (SQL code: -171) occurred when
    Db2 Table Editor tried to open view that combines data from
    multiple tables.
    

Problem conclusion

  • Apply the PTF
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH46607

  • Reported component name

    DB2 TABLE EDITO

  • Reported component ID

    5697G6500

  • Reported release

    150

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-19

  • Closed date

    2022-07-21

  • Last modified date

    2022-08-02

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

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

    UI81625

Modules/Macros

  • ETI2CSVE ETI2DB2  ETI2MAIN ETI2PCEP ETI2PEDT ETI2PFRM ETI2PHST
    ETI2PLOG ETI2PMAN ETI2PSAC ETI2PSEL ETI2PSQL ETI2PTLS
    

Fix information

  • Fixed component name

    DB2 TABLE EDITO

  • Fixed component ID

    5697G6500

Applicable component levels

  • R150 PSY UI81625

       UP22/07/28 P F207

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.5.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 August 2022