IBM Support

IT31109: THE USE OF "ALTER SEQUENCE MYSEQ INCREMENT BY 1" RESETS THE SEQUENCE COUNT.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • ALTER SEQUENCE myseq INCREMENT BY 1 reset to the "start with"
    value.
    Eample:-
    create sequence myseq increment by 5 start with 1 maxvalue 100
    minvalue 1 cache 20 order;
    
    SELECT myseq.NEXTVAL
    FROM SYSTABLES
    WHERE TABID=1;
    
                 nextval
    
                       6
    
    1 row(s) retrieved.
    
    alter sequence myseq restart with 60;
    
    Sequence altered.
    
    SELECT myseq.NEXTVAL
    FROM SYSTABLES
    WHERE TABID=1;
    
    
    nextval
    
    60
    
    1 row(s) retrieved.
    
    ALTER SEQUENCE myseq INCREMENT BY 1;
    ;
    Sequence altered.
    
    SELECT myseq.NEXTVAL
    FROM SYSTABLES
    WHERE TABID=1;
    ;
    
    nextval
    
    1
    
    1 row(s) retrieved.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC14 and 14.10.xC4.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to Informix Server 12.10.xC14 or 14.10.xC4.           *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC14 and 14.10.xC4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31109

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-11-29

  • Closed date

    2020-06-08

  • Last modified date

    2020-06-08

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

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

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
10 June 2020