IBM Support

IC88366: UPGRADE TO TPC 5.1.1 CAN FAIL WHEN USING CUSTOM DB SCHEMA VALUE (NOT DEFAULT VALUE OF "TPC").

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The TPC upgrade will fail if customer does following:
    a. Install TPC 4.x with custom DB2 schema (something other
    than "TPC")
       b. Migrate it to 5.1.0
       c. Upgrade again to 5.1.1
    
    Upgrade will fail at step c with:
    DB2 SQL  exception: DB2 SQL
    Error: SQLCODE=-454, SQLSTATE=42723,
    SQLERRMC=TPC.EPOCH_TO_TS.
    
    Following is an example:
       2012-11-09 04:12:48.607-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged 2012-11-09 04:12:48.594-0700 INS2070E: SQL Error
    encountered during repository creation.
         [java]                          SQL statement: CREATE
    FUNCTION TPC.EPOCH_TO_TS(epoch
    2012-11-09 04:12:48.608-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged                          SQL statement: CREATE
    FUNCTION TPC.EPOCH_TO_TS(epoch
         [java]                                      SQLSTATE:
    42723, Vendor error code: -454
    2012-11-09 04:12:48.608-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged                                      SQLSTATE:
    42723, Vendor error code: -454
         [java]                                      DB2 SQL Error:
    SQLCODE=-454, SQLSTATE=42723, SQLERRMC=TPC.EPOCH_TO_TS,
    DRIVER=3.62.56
    2012-11-09 04:12:48.609-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged                                      DB2 SQL
    Error: SQLCODE=-454, SQLSTATE=42723, SQLERRMC=TPC.EPOCH_TO_TS,
    DRIVER=3.62.56
    ...
         [java] Failed to execute query: CREATE FUNCTION
    TPC.EPOCH_TO_TS(epoch DOUBLE) RETURNS TIMESTAMP DETERMINISTIC NO
    EXTERNAL ACTION RETURN CASE epoch WHEN 0 THEN CAST( NULL AS
    TIMESTAMP ) ELSE TIMESTAMP('1970-01-01-00.00.00.000000') +
    (epoch / 1000) SECONDS END
    2012-11-09 04:12:48.653-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged Failed to execute query: CREATE FUNCTION
    TPC.EPOCH_TO_TS(epoch DOUBLE) RETURNS TIMESTAMP DETERMINISTIC NO
    EXTERNAL ACTION RETURN CASE epoch WHEN 0 THEN CAST( NULL AS
    TIMESTAMP ) ELSE TIMESTAMP('1970-01-01-00.00.00.000000') +
    (epoch / 1000) SECONDS END
         [java] The schema upgrade failed while exposing views
    2012-11-09 04:12:48.654-0700 INFO
    com.ibm.tpc.install.frontend.ia.actions.StatusUpdater
    messageLogged The schema upgrade failed while exposing views
         [java] DEBUG SDI doInstall 14
    
    
    This problem affects all supported operating systems.
    
    This will be listed in the known issues and limitations
    technote for TPC 5.1.1.
    

Local fix

  • Work with IBM Support to get a script file to execute before
    step c where TPC is upgraded from 5.1.0 to 5.1.1.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * TPC users upgrading to 5.1.1 when using a custom schema      *
    * value (not "TPC")                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to fix pack when available.                          *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is targeted for the following maintenance
    package:
    
    | fix pack | 5.1.1-TIV-TPC-FP0001 - target March 2013
    
    http://www-01.ibm.com/support/docview.wss?&uid=swg21320822
    
    The target dates for future fix packs do not represent a formal
    commitment by IBM. The dates are subject to change without
    notice.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88366

  • Reported component name

    TPC

  • Reported component ID

    5608TPC00

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-19

  • Closed date

    2013-01-18

  • Last modified date

    2013-01-18

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

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

Modules/Macros

  • UPGRADE
    

Fix information

  • Fixed component name

    TPC

  • Fixed component ID

    5608TPC00

Applicable component levels

  • R510 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS5R93","label":"IBM Spectrum Control"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
23 March 2022