IBM Support

JR29942: 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.1, FixPak 7.
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    JR29942

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-28

  • Closed date

    2009-04-15

  • Last modified date

    2009-04-15

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

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

    JR29956 JR29992

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

Document Information

Modified date:
07 October 2021