Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQ Error....

Status
Not open for further replies.

vrs1008

Programmer
Sep 16, 2003
62
US
Hi,

We are using Mercator 6.5 on AIX Box.

We are getting following message when trying to pull a message from the queue.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1745088-3599>: | Buffer reallocation from 4196 to 130148584 bytes
<1745088-3599>: | Adapter error rc = -1005 [Message could not be retrieved from the queue]
<1745088-3599>: | MQSeries error (ReasonCode = 2010)
<1745088-3599>: [m4mqsGet] (rc = -1005) *** ERROR ***
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Queue has 81 messages and each messages has size of 3MB.

We tried using following command without success :

-CMSG to fetch the complete message
-MBS to set the buffer size
-QTY to specify number of messages to retrieve


Regards,
Vibhav1008
 
have you tried setting the environment variable EXTSHM=ON?

what command line are you currently using?

cheers,
Olly.
 
I haven't try setting up environment variable. Is it Unix variable or mercator.ini variable??? Can you please let me know how to set that up??

I am using :
-qmn ABC -qn ABC.ACPT.01 -HDR -CMSG

Regards,
Vibhav1008
 
EXTSHM=ON is a UNIX variable, try doing the following before running the map:
export EXTSHM=ON


Also, I'm not sure if -HDR and -CMSG will work together, you might want to remove one until the queue connection problem is sorted out.

Cheers,
Olly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top