IBM Support

IC71585: ADMIN MOVE TABLE FAILS WITH SQL2102N RC = 12

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ADMIN MOVE TABLE creates the SYSTOOLSPACE.OTM_SEMAPHORE_TABLE
    table to control help synchronize multiple table moves running
    in parallel. If ADMIN_MOVE_TABLE fails while populating this
    table the table will be created but will be empty. Every
    subsequent ADMIN_MOVE_TABLE operation will then fail with
    SQL2102Nrc=12.
    
    Workaround:
    Verify that the table is not empty:
    
    db2 "select * from SYSTOOLS.OTM_SEMAPHORE_TABLE"
    
    If the table is empty then drop it and rerun ADMIN_MOVE_TABLE
    

Local fix

  • Verify that the table is not empty:
    
    db2 "select * from SYSTOOLS.OTM_SEMAPHORE_TABLE"
    
    If the table is empty then drop it and rerun ADMIN_MOVE_TABLE
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * ADMIN MOVE TABLE creates the                                 *
    * SYSTOOLSPACE.OTM_SEMAPHORE_TABLE                             *
    * table to control help synchronize multiple table moves       *
    * running                                                      *
    * in parallel. If ADMIN_MOVE_TABLE fails while populating this *
    *                                                              *
    * table the table will be created but will be empty. Every     *
    *                                                              *
    * subsequent ADMIN_MOVE_TABLE operation will then fail with    *
    *                                                              *
    * SQL2102Nrc=12.                                               *
    *                                                              *
    *                                                              *
    *                                                              *
    * Workaround:                                                  *
    *                                                              *
    * Verify that the table is not empty:                          *
    *                                                              *
    *                                                              *
    *                                                              *
    * db2 "select * from SYSTOOLS.OTM_SEMAPHORE_TABLE"             *
    *                                                              *
    *                                                              *
    *                                                              *
    * If the table is empty then drop it and rerun                 *
    * ADMIN_MOVE_TABLE                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Verify that the table is not empty:                          *
    *                                                              *
    *                                                              *
    *                                                              *
    * db2 "select * from SYSTOOLS.OTM_SEMAPHORE_TABLE"             *
    *                                                              *
    *                                                              *
    *                                                              *
    * If the table is empty then drop it and rerun                 *
    * ADMIN_MOVE_TABLE                                             *
    ****************************************************************
    

Problem conclusion

  • db2_v97fp4
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC71585

  • 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

    2010-09-30

  • Closed date

    2011-05-09

  • Last modified date

    2011-05-09

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
09 May 2011