PM17997: 2046 (MQRC_OPTIONS_ERROR) RECEIVED WHEN CONNECTING TO MQ V6 FROM A JAVA APPLICATION USING THE MQ V701 JAVA COMPONENT.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as unreproducible in next release.

Error description

  • If a Java application is configured to use the MQ Java
    component at the 7.0.1 level, and it attempts to connect to
    an MQ V6 queue manager, then the connect can fail with
    2046 (MQRC_OPTIONS_ERROR).
    com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed
    with compcode '2' ('MQCC_FAILED') reason '2046'
    ('MQRC_OPTIONS_ERROR').
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of Websphere MQ for z/OS Version 6 *
    *                 Release 0.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: An MQ Java application using the MQ     *
    *                      V701 Java classes to connect to an MQ   *
    *                      V6 queue manager, fails to connect to   *
    *                      the queue manager with reason code      *
    *                      2046 (MQRC_OPTIONS_ERROR).              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A Java application uses the MQ Java or MQ JMS interfaces to
    access an MQ version 6 queue manager.
    
    If the application is configured to use the MQ version 7.0.1
    Java classes, then the parameters used by the MQ Java code to
    connect to the queue manager are not recognized as valid by
    the MQ V6 connect processing. This causes the connect to fail
    with reason code 2046 - MQRC_OPTIONS_ERROR.
    
    The failure results in a com.ibm.mq.MQException being thrown.
    
    com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed
    with compcode '2' ('MQCC_FAILED') reason '2046'
    ('MQRC_OPTIONS_ERROR').
    
    For JMS applications, a JMSException is passed to the
    application.
    
    com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018:
    JMSWMQ0018: Failed to connect to queue manager 'XXXX' with
    connection mode 'Bindings' and host name 'localhost(1414)'.
    

Problem conclusion

Temporary fix

Comments

  • The connection logic in CSQBCON has been altered to allow the
    parameters passed by the MQ V7.0.1 Java interface.
    

APAR Information

  • APAR number

    PM17997

  • Reported component name

    WMQ Z/OS V6

  • Reported component ID

    5655L8200

  • Reported release

    000

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-07-08

  • Closed date

    2010-07-14

  • Last modified date

    2010-09-02

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

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

    UK58734

Modules/Macros

  •    CSQBCON
    

Fix information

  • Fixed component name

    WMQ Z/OS V6

  • Fixed component ID

    5655L8200

Applicable component levels

  • R000 PSY UK58734

       UP10/08/06 P F008

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
APAR

Software version:

6.0

Reference #:

PM17997

Modified date:

2010-09-02

Translate my page

Machine Translation

Content navigation