IBM Support

IC77915: 'ALTER SEQUENCE <SEQUENCE_NAME> RESTART WITH <VALUE>' STATEMENT IS NOT GENERATED BY DB2LOOK UTILITY.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If 'ALTER SEQUENCE <sequence name> RESTART WITH <value>'
    statement was issued for the sequence then db2look utility does
    not generate 'ALTER SEQUENCE <sequence name> RESTART WITH
    <value>' statement for that sequence if the next sequence was
    not retrieved by 'NEXT VALUE FOR <sequence name>' statement
    since sequence was altered.
    

Local fix

  • Retrieve value from the sequence with 'NEXT VALUE FOR <sequence
    name>' before using db2look if sequence was altered with 'ALTER
    SEQUENCE <sequence name> RESTART WITH <value>' statement.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 UDB Version 9.7 FixPack 6.                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 FixPack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC77915

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-04

  • Closed date

    2012-06-06

  • Last modified date

    2012-06-06

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

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

    IC84522

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC77915

Modified date: 06 June 2012