IBM Support

IZ35717: DB2 CLI SQLSETCONNECTATTR CALLED WITH SQL_ATTR_SERVER_MSGTXT_SP MAY APPEND GARBAGE CHARACTERS TO THE STORED PROCEDURE NAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 CLI function SQLSetConnectAttr() called with attribute
    SQL_ATTR_SERVER_MSGTXT_SP may append garbage characters to
    the stored procedure name.
    
    The name of the stored procedure, typically "DSNACCMG", which is
    sent to the DB2 z/OS server may be padded with additional
    characters at the end of the string. This causes problems on DB2
    z/OS like SQL0440N when retrieving a server message text because
    the stored procedure can not be resolved.
    
    This problem can occure if the CLI application has set the
    SQL_ATTR_OUTPUT_NTS environment attribute to SQL_FALSE.
    

Local fix

Problem summary

  • Users Affected: ALL
    
    Problem Description:
    
    DB2 CLI function SQLSetConnectAttr() called with attribute
    SQL_ATTR_SERVER_MSGTXT_SP may append garbage characters to
    the stored procedure name.
    
    The name of the stored procedure, typically "DSNACCMG", which is
    sent to the DB2 z/OS server may be padded with additional
    characters at the end of the string. This causes problems on DB2
    z/OS like SQL0440N when retrieving a server message text because
    the stored procedure can not be resolved.
    
    This problem can occure if the CLI application has set the
    SQL_ATTR_OUTPUT_NTS environment attribute to SQL_FALSE.
    
    Problem Summary:  See Problem Description.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.1, FixPak 7 (build s090308)
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ35717

  • Reported component name

    DB2 CEE AIX

  • Reported component ID

    5765F3000

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-10-27

  • Closed date

    2009-04-07

  • Last modified date

    2009-04-07

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

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

    IZ35720

Fix information

  • Fixed component name

    DB2 CEE AIX

  • Fixed component ID

    5765F3000

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"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":"910"}]

Document Information

Modified date:
04 October 2021