IBM Support

JR29992: SQLALLOCENV() AND SQLALLOCHANDLE(SQL_HANDLE_ENV,...) WILL TURN OFF A PREVIOUSLY DYNAMICALLY ACTIVATED CLI TRACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A previously dynamically enabled CLI trace wil get turned off by
    the next SQLAllocEnv()/SQLAllocHandle(SQL_HANDLE_ENV,...) call.
    Turning CLI trace on dynamically is done by setting
    TraceRefreshInterval=number in the db2cli.ini file and setting
    Trace=1 later on, when the application is already running.
    

Local fix

  • Avoid SQLAllocEnv(), SQLAllocHandle(SQL_HANDEL_ENV,...) calls
    after turning on CLI trace dynamically.
    

Problem summary

  • A previously dynamically enabled CLI trace wil get turned off by
    the next SQLAllocEnv()/SQLAllocHandle(SQL_HANDLE_ENV,...) call.
    Turning CLI trace on dynamically is done by setting
    TraceRefreshInterval=number in the db2cli.ini file and setting
    Trace=1 later on, when the application is already running.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.5, FixPak 4
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR29992

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-28

  • Closed date

    2009-05-29

  • Last modified date

    2009-05-29

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

    JR29942

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

Fix information

  • Fixed component name

    DB2 CEE WINDOWS

  • Fixed component ID

    5765F3001

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

Document Information

Modified date:
07 October 2021