IBM Support

PK61263: ALTER OF TABLE WITH VALIDPROC FAILS WITH SQLCODE -148

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Object Comparison Tool, when comparing objects that uses
    VALIDPROC, VALIDPROC is not altered to NULL prior to the
    table alter, resulting in SQLCODE -148.
    Additonal Symptoms: msgsqlcode148 sqlcode148 sqlcoden148
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Object Compare Ver 7.2.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: In   Object  Comparison  Tool,    when  *
    *                      comparing  objects that use  ALIDPROC,  *
    *                      VALIDPROC is not altered to NULL prior  *
    *                      to  the column  being  altered column,  *
    *                      resulting in SQLCODE -148.              *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    In Object Comparison Tool,   when comparing objects that use
    VALIDPROC, VALIDPROC is are not altered to NULL prior to the
    column being altered column, resulting in SQLCODE -148.
    
    Additional Symptoms: msgsqlcode148 sqlcode148 sqlcoden148.
    

Problem conclusion

  • The code was changed to add the additional statement "alter
    table .. set validproc to null" prior to altering column.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK61263

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-18

  • Closed date

    2008-11-03

  • Last modified date

    2008-12-02

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

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

Modules/Macros

  •    GOC2CMF  GOC2CMS
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK41297

       UP08/11/21 P F811

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":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021