IBM Support

PI30577: STEP T02COMP RC12 CONVERT TB COLUMN FROM BIGINT TO CHAR.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Object Comparison Tool for z/OS Compare function
    generates error comparing source and target DDL during
    conversion of a table from BIGINT to CHAR.
      STEP:T02COMP  PROC:         COND_CODE:  12
      Conversion not supported for Col name (BIGINT to CHAR)
      (D)Type changed from BIGINT to CHAR(6)
      (E)This type change is not supported
      Conversion will fail because of datatype mismatch
      Run stopped because conversion(s) not supported
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS and DB2 Object Comparison           *
    *                 Tool for z/OS who use the Compare,           *
    *                 'ALT Alter Table' (ALT) or Change            *
    *                 Management (CM) function.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The Object Compare function generates   *
    *                      a conversion error and fails with       *
    *                      Return Code 12 / RC=12 when changing    *
    *                      a table column from BIGINT to CHAR      *
    *                      even when the Compare option 'Content   *
    *                      of apply job(s)' is set to 'DDL'        *
    *                      on panel GOC5 'Generate Compare Jobs'.  *
    *                                                              *
    *                      Example of the error in the OBJECT      *
    *                      COMPARISON REPORT:                      *
    *                                                              *
    *                      Conversion not supported for            *
    *                      Col name (BIGINT to CHAR)               *
    *                        (D)Type changed from BIGINT           *
    *                        to CHAR(6)                            *
    *                        (E)This type change is not            *
    *                        supported                             *
    *                      Conversion will fail because            *
    *                      of datatype mismatch                    *
    *                      Run stopped because                     *
    *                      conversion(s) not supported             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Object Compare function generates a conversion error and
    fails with Return Code 12 / RC=12 when changing a table column
    from BIGINT to CHAR even when the Compare option 'Content of
    apply job(s)' is set to 'DDL'.
    

Problem conclusion

  • Problem has been resolved. When the 'Content of apply job(s)'
    option is set to 'DDL' on panel GOC5, the Compare, ALT and
    Change Management function will skip checking possible data
    conversion errors. No conversion report will be generated
    under this option setting.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI30577

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-12-01

  • Closed date

    2015-01-23

  • Last modified date

    2015-02-03

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

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

    UI24635 UI24636

Modules/Macros

  •    GOCCMP   GOC5H
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • RA20 PSY UI24635

       UP15/01/27 P F501

  • RB10 PSY UI24636

       UP15/01/27 P F501

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0"}]

Document Information

Modified date:
12 April 2021