IBM Support

PM63811: MAKEPBG ISSUES: ALTER UNEXPECTED TOKEN IN CONSTANT LIST - EXPECT ED COMMA OR RIGHT PAREN FROM ADB2PA AND SQLCODEN662

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS' MAKEPBG command results in
    one of the two following errors:
    
    Unexpected token in constant list - expected comma or right
    paren
    ADB2PA: The following statement could not be parsed :
    ALTER TABLE >schema<.>table< ALTER PARTITION 0 ENDING AT (
    2002-01....
    
    or:
    SQLCODE -662 A PARTITIONED INDEX CANNOT BE CREATED ON A
    NON-PARTITIONED, PARTITION-BY-GROWTH OR RANGE-PARTITIONED
    UNIVERSAL TABLE SPACE tspace-name
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who Alter (ALT) a tablespace and        *
    *                 use the MAKEPBG command.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When altering a tablespace and using    *
    *                      the MAKEPBG command in DB2 9, the       *
    *                      following error is produced:            *
    *                                                              *
    *                      Unexpected token in constant            *
    *                      list - expected comma or right          *
    *                      paren                                   *
    *                      ADB2PA: The following statement         *
    *                      could not be parsed.                    *
    *                                                              *
    *                      When using the MAKEPBG with             *
    *                      table-controlled partitioning, a        *
    *                      SQLCODE=-662 / SQLCODEN662 error        *
    *                      is observed:                            *
    *                                                              *
    *                      SQLCODE= -662 A PARTITIONED INDEX       *
    *                      CANNOT BE CREATED ON A                  *
    *                      NON-PARTITIONED, PARTITION-BY-GROWTH    *
    *                      OR RANGE-PARTITIONED UNIVERSAL TABLE    *
    *                      SPACE tspace-name.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When altering a tablespace and using the MAKEPBG command
    in DB2 9, the following error is produced:
    
    Unexpected token in constant list - expected comma or right
    paren
    ADB2PA: The following statement could not be parsed.
    
    When using the MAKEPBG with table-controlled partitioning, a
    SQLCODE=-662 / SQLCODEN662 error is observed:
    
    SQLCODE= -662 A PARTITIONED INDEX CANNOT BE CREATED ON A
    NON-PARTITIONED, PARTITION-BY-GROWTH OR RANGE-PARTITIONED
    UNIVERSAL TABLE SPACE tspace-name.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM63811

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-03

  • Closed date

    2012-05-23

  • Last modified date

    2012-06-03

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

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

    UK78989

Modules/Macros

  •    ADB21SAR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK78989

       UP12/05/30 P F205

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

Document Information

Modified date:
03 June 2012