MQRC_ENVIRONMENT_ERROR 2012 occurs intermittently

Technote (troubleshooting)


Problem(Abstract)

In the reported case, MQRC_ENVIRONMENT_ERROR 2012 is coming from the local queue manager when a WebSphere MQ Java client attempts to do an MQCTL call.

Symptom

Suddenly the WebSphere Application Server (WSAS) stops getting messages from the MQ queue.


The WSAS control region log contains:


    JMSCMQ0002: The method 'MQCTL' failed.

    Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call
    failed with compcode '2' ('MQCC_FAILED') reason '2012'
    ('MQRC_ENVIRONMENT_ERROR').


Cause

A slip dump showed that the async consume thread TCB ended. In logrec, the TCB hit an ABENDS0D7 RC25 abend in BMC module MQTRFGST followed by an ABENDS0C1 in BMC module MMAHPCST. The S0D7 and S0C1 are the reason for the async consume thread ending, which causes the MQCTL to fail with MQRC 2012.

Diagnosing the problem

A slip was provided by the support center to get a dump in CSQBSRV when the MQRC 2012 occurs.

Resolving the problem

Recycling the MDB Listener on the servers to clear the problem.

Contact vendor BMC regarding fix BPL2067.

Product Alias/Synonym

WMQ MQ

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere MQ
Application / API

Software version:

7.0.1

Operating system(s):

z/OS

Reference #:

1610868

Modified date:

2012-09-28

Translate my page

Machine Translation

Content navigation