IBM Support

JR25400: SQL30020 ERROR OCCURS DUE TO LACK OF CHECKING FOR MAXIMUM PRECISION WITH DB2.NET DATA. THIS LEADS APPLICATION TO ABEND.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • .NET application will fail with CLI0108E error and SQL30020
    error messages are found in db2diag log file. This occurs when
    the precision of the DB2.NET data type is greater than 31 as DB2
    only supports a maximum precision of 31 digits.
    
    The reason behind this malfunction is because there
    is a lack of checking for a maximum precision value for DB2.NET
    data type. Eventually, this causes the .NET application to
    abend.
    

Local fix

Problem summary

  • USERS AFFECTED:  ALL
    
    PROBLEM DESCRIPTION:
    
    .NET application will fail with CLI0108E error and SQL30020
    error messages are found in db2diag log file. This occurs when
    the precision of the DB2.NET data type is greater than 31 as DB2
    only supports a maximum precision of 31 digits.
    
    The reason behind this malfunction is because there
    is a lack of checking for a maximum precision value for DB2.NET
    data type. Eventually, this causes the .NET application to
    abend.
    
    
    PROBLEM SUMMARY:
    
    SQL30020 error occurs due to lack of checking for maximum
    precision with DB2.NET data. This leads application to abend.
    

Problem conclusion

  • First fixed in DB2 UDB Version 8.1, FixPak 15
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR25400

  • Reported component name

    DB2 UDB EXE WIN

  • Reported component ID

    5724E4901

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-11-29

  • Closed date

    2007-08-22

  • Last modified date

    2007-08-22

  • 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 UDB EXE WIN

  • Fixed component ID

    5724E4901

Applicable component levels

  • R810 PSY

       UP

  • R820 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
08 January 2022