IBM Support

JR32477: WHEN TRYING TO ACCESS A NON-EXISTENT LIBRARY GETLASTERROR() RETURNS 0, WHICH IS ASSOCIATED WITH A NORMAL RETURN CODE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The plugins try to load the library which is non existent and
    hence fails. The library may be optional and therefore it is not
    a fatal error if the library is not found, the problem is
    LoadLibraryA() returns a NULL to indicate a failure but
    GetLastError() returns neither ERROR_MOD_NOT_FOUND nor
    ERROR_DLL_NOT_FOUND.  As a matter of fact, it returns 0, which
    is usually returned as a normal return code.
    
    The following message can be seen in the db2diag.log:
    
    2008-09-22-13.41.08.667000+120 I4031H250 LEVEL: Severe
    PID : 1000 TID : 2764
    FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage,
    probe:20
    DATA #1 : String, 37 bytes
    loadAuthidMapper: LoadLibrary rc = 0
    

Local fix

  • N/A
    

Problem summary

  • Fixed in V91fp8
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR32477

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    910

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-24

  • Closed date

    2009-10-09

  • Last modified date

    2009-10-09

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

    JR32370

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

    JR33661

Fix information

Applicable component levels

  • R910 PSN

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

Document Information

Modified date:
12 October 2021