IBM Support

IT08141: The "num_sessions" value passed by DB2 to the vendor API SQLUVINT() with the LOAD WITH COPY YES command is always "0"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trying to setup a backup vendor product for DB2 backups,
    the "NUM_SESSIONS" value passed by DB2 to the vendor API
    SQLUVINT() with the "LOAD WITH COPY YES" command is always "0"
    regardless of number of sessions passed.
    
    Example of a LOAD command with 3 sessions to be used with the
    vendor product:
    db2 load from .\test.dat of DEL insert into Table1 copy yes LOAD
    "c:\temp\libnsrdb2.dll" open 3 sessions
    
    However when checking the number of sessions passed by DB2 to
    the vendor API, the output shows 0 for the "num_sessions"
    parameter:
    
    num_sessions=0
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who use LOAD COPY YES with vendor library.             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 for LUW Version 9.7 FixPack 11 or higher.     *
    ****************************************************************
    

Problem conclusion

  • Firstly fixed in DB2 for LUW Version 9.7 FixPack 11.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT08141

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-06

  • Closed date

    2015-10-15

  • Last modified date

    2015-10-15

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

    IT02471

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 October 2015