IBM Support

IC65573: 2298 MQRC_FUNCTION_NOT_SUPPORTED EXCEPTION WHEN CONNECTING A .NET APP TO A SYSTEM WHICH DOES NOT SUPPORT THE SPI VERBS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a .NET application is talking to a server which does not
    support SPI query calls, the application fails with a 2298
    (FUNCTION_NOT_SUPPORTED) when it attempts to query the SPI
    levels. This results in the MQCONNX call failing.
    The following exception is seen in a WebSphere MQ trace:
    -----}! SPINewHObj (rc=MQRC_FUNCTION_NOT_SUPPORTED)
    ----}  UnmanagedNmqiMQ.SPIQuerySPI(Hconn,int,ref int,
    ref int,ref int,ref int,out int,out int) (rc=OK)
    ---}  UnmanagedNmqiMQ.MQCONNX(String,ref MQCNO,Hconn,
    Phconn,out int,out int) (rc=OK)
    --}  UnmanagedNmqiMQ.MQCONNX(String,MQConnectOptions,
    Phconn,out int,out int) (rc=OK)
    MQException CompCode: 2 Reason: 2298
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of .NET talking to WebSphere MQ systems which do not
    support the SPI verbs, such as WebSphere MQ for VSE.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    The .NET unmanaged layer assumed that it could query the
    supported SPI interfaces, and failed to take into account there
    are systems, such as on VSE, which do not even implement the
    query function. When used against such a system, an unexpected
    MQRC_FUNCTION_NOT_SUPPORTED was being returned but not handled.
    

Problem conclusion

  • The .NET unmanaged interface has been modified to correctly
    handle a MQRC_FUNCTION_NOT_SUPPORTED when querying the
    supported SPI versions, and handle that return code correctly
    as though no SPI verbs are supported.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.2
    --------           --------------------
    Windows            U200316
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available, information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC65573

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-14

  • Closed date

    2010-01-28

  • Last modified date

    2010-01-29

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

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

Fix information

  • Fixed component name

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 January 2010