IBM Support

PH67649: UNEXPECTED ALTER TABLE OPTION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Parsing does not support undocumented syntax for ALTER TABLE ADD
    PARTITION that uses <partitioning-clause>
    For example:
    Unexpected ALTER TABLE option, (
    ADB2PA: The following statement could not be parsed :
    ALTER TABLE SCADN101.TB1_ITEM_PART1 ADD PARTITIONING KEY
    (ITEM_ID ASC) (
    PARTITION 1 ENDING AT ('111111') INCLUSIVE, PARTITION 2 ENDING
    AT ('222222')
    INCLUSIVE , PARTITION 3 ENDING AT ('444444') INCLUSIVE)
    Token number = 9, Token = (
    RC=32
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Db2 Administration Tool for z/OS                    *
    * who process an ALTER TABLE ADD PARTITION SQL                 *
    * statement                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * SQL parsing does not support ALTER                           *
    * TABLE ADD PARTITION when it specifies                        *
    * <partitioning-clause> instead of                             *
    * <partition-clause>.                                          *
    ****************************************************************
    ALTER TABLE ADD PARTITION can be used with either
    <partition-clause> or <partitioning-clause>. However, only
    <partition-clause> is documented in the SQL Reference. SQL
    parsing is updated to support ALTER TABLE ADD PARTITION
    <partitioning-clause>.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH67649

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-08-05

  • Closed date

    2025-09-15

  • Last modified date

    2025-10-02

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

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

    UO04908

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO04908

       UP25/10/02 P F509

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":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 October 2025