ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQRC_FORMAT_ERROR

Post new topic  Reply to topic
 MQRC_FORMAT_ERROR « View previous topic :: View next topic » 
Author Message
friedl.otto
PostPosted: Mon Jul 21, 2008 1:36 am    Post subject: MQRC_FORMAT_ERROR Reply with quote

Centurion

Joined: 06 Jul 2007
Posts: 116

I am trying to clear a queue (100K+ messages) to disk.

1. Messages written by IBM WebSphere Message Broker.
2. First few (10 messages) MQ_GET fine.
3. Then I hit the MQRC_FORMAT_ERROR.
(How, if the messages are written by the same flow?)
4. If I use browse I get 33724 into a file and then:
Code:

java.io.EOFException
        at com.ibm.mq.MQMessage.readConvertedString(MQMessage.java:2073)
        at com.ibm.mq.MQMessage.readStringOfCharLength(MQMessage.java:632)
        at com.ibm.mq.MQMessage.readString(MQMessage.java:1053)
        at mqUtils.mqBrowse(mqUtils.java:253)
        at mqUtils.main(mqUtils.java:97)

Help a victim out here!
_________________
Here's an idea - don't destroy semaphores unless you're certain of what you're doing! -- Vitor
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Jul 23, 2008 2:14 am    Post subject: Re: MQRC_FORMAT_ERROR Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Is the program trying to convert the message on MQGET? (ie. by using MQGMO_CONVERT)

How often do you need to delete all messages on a queue? Assuming the messages represent something important, it might be a rare thing - in that case perhaps the CLEAR QLOCAL command is better?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQRC_FORMAT_ERROR
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.