IBM Support

SE42509: MQDISC fails with MCH3601 if not already connected

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RPG application performs MQDISC and checks for rc=2018 to
    verify that there are no current connections. This has worked
    on previous versions of WMQ.
    
    Since upgrading to 7.0.1.1, application program fails on the
    MQDISC with IBM i error MCH3601 Pointer not set for location
    referenced.
    
    From program . . . . . . . . . : LIBMQZST
    From library . . . . . . . . : QMQM
    From module . . . . . . . . : AMQZSTA0_N
    From procedure . . . . . . . : zstMQDISC
    From statement . . . . . . . : 356
    
    To program . . . . . . . . . . : LIBMQZST
    To library . . . . . . . . . : QMQM
    To module . . . . . . . . . : AMQZSTA0_N
    To procedure . . . . . . . . : zstMQDISC
    To statement . . . . . . . . : 356
    
    Testing showed that this seemed to be introduced at 7.0.1.0.
    Also, not specific to RPG applications. A similarly written C
    application fails the same way.
    

Local fix

  • Avoid MQDISC as first MQI call or when no connection to a Queue
    Manager exists.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    WMQ users attempting to perform an MQDISC before an MQCONN
    
    Platforms affected:
    iSeries
    
    ****************************************************************
    PROBLEM SUMMARY:
    WMQ code was attempting to dereference a null pointer resulting
    in an MCH3601.
    

Problem conclusion

  • WMQ code has been modified to alleviate the MCH3601 error when
    performing an MQDISC prior to an MQCONN
    
    MDVREGR (7.0.1.0)
    MDVREGR SI36917 (7.0.1.1)
    MDVREGR SI38999 (7.0.1.2)
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.3
    --------           --------------------
    iSeries            tbc_p700_0_1_3
    
    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

    SE42509

  • Reported component name

    WMQ ISERIES V7

  • Reported component ID

    5724H7226

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-03-29

  • Closed date

    2010-04-26

  • Last modified date

    2010-06-15

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

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

Modules/Macros

  • RCHMGR
    

Fix information

  • Fixed component name

    WMQ ISERIES V7

  • Fixed component ID

    5724H7226

Applicable component levels

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

Document Information

Modified date:
27 April 2020