IBM Support

PH10803: SQL ERROR -798 APPEARS WHILE INSERTING A ROW INTO A TABLE WITH ACOLUMN DEFINED AS GENERATED ALWAYS.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQL ERROR -798 appears while inserting a row into a table with a
    column defined as GENERATED ALWAYS AS (DATA CHANGE OPERATION),
    (CURRENT SQLID), (CURRENT CLIENT_ACCTNG), (CURRENT
    CLIENT_APPLNAME) and (CURRENT CLIENT_USERID)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM Db2 Table Editor z/OS.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQL ERROR -798 appears while inserting  *
    *                      a row into a table with a column        *
    *                      defined as GENERATED ALWAYS AS (DATA    *
    *                      CHANGE OPERATION), (CURRENT SQLID),     *
    *                      (CURRENT CLIENT_ACCTNG), (CURRENT       *
    *                      CLIENT_APPLNAME) and (CURRENT           *
    *                      CLIENT_USERID).                         *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10803

  • 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

    2019-04-09

  • Closed date

    2019-04-26

  • Last modified date

    2019-05-02

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

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

Modules/Macros

  • ETI2CSVE ETI2DB2  ETI2DCOL 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 UI62727

       UP19/04/30 P F904

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":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQU2","label":"Db2 Table Editor"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 May 2019