IBM Support

PH41293: ALT DOES WRONG CONVERSION FOR ZERO INTEGER TO CHAR(35)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the ALT function in ADB to change attribute DISPNR
    from INTEGER to CHAR(35) , all values in that field that contain
    integer 0 are converted to CHAR "+000000000000000" instead of
    CHAR "0".
    

Local fix

  • BYPASS/CIRCUMVENTION:
    NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Changing a column attribute from        *
    *                      integer to CHAR by using the ALT        *
    *                      function causes the conversion of       *
    *                      integer 0 to CHAR string                *
    *                      '+00000000000000' in the table.         *
    *                      Also, an ONCODE error is returned       *
    *                      when a maximum negative integer is      *
    *                      converted.                              *
    ****************************************************************
    When using ALT to change a column from integer to CHAR, the
    integer value 0 is converted to '+0000000000000000'
    instead of the expected '0'.  If the integer value is a maximum
    negative number, the following ONCODE error message is returned:
    ONCODE=150  The STRINGSIZE condition was raised.
    from entry point CONVERT_UNLOAD.
    
    These errors occur for the following four conversions:
    INTEGER -> CHAR
    INTEGER -> VARCHAR
    SMALLINT -> CHAR
    SMALLINT -> VARCHAR
    
    KEYWORD:ONCODE150
    

Problem conclusion

  • The problems have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH41293

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-14

  • Closed date

    2022-01-20

  • Last modified date

    2022-02-01

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

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

    UI78997

Modules/Macros

  • ADB27AC
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI78997

       UP22/01/25 P F201

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":"12.1.0"}]

Document Information

Modified date:
02 February 2022