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 » WebSphere Message Broker (ACE) Support » MQSIgetdata / MQSIputdata batch mode?

Post new topic  Reply to topic
 MQSIgetdata / MQSIputdata batch mode? « View previous topic :: View next topic » 
Author Message
Pierre-Yves Lesage
PostPosted: Wed Aug 22, 2001 12:18 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2001
Posts: 17
Location: London, UK

Hi all,

we are trying to find a solution to reprocess valid messages that ended-up on the MQSIruleng failure queue.

We have tried using MQSIgetdata to get the messages off the queue and MQSIputdata to put them back on to the queue.
However, this can only be done one message at a time. We would like to do that in batch.

We have tried the following: With MQSIgetdata we get all the messages off the queue into a text file (including their MQSI header). We then insert a separator between each message (we add a character before "RFH"). We use MQSIputdata to put the messages back on to the queue. In the .mpf file for MQSIputdata, we don't ask to include a RFH header (as it's already at the start of each message) but we use the MQHRF message format. When we look at the messages on the queue, they look ok. However, even if they are valid messages, they are rejected by MQSIruleng and go back to the failure queue.

Note that they did not go to the failure queue in the first place because they were invalid, but because the output queue was full.

Any idea?

Thanks.

Pierre-Yves.

[ This Message was edited by: Pierre-Yves Lesage on 2001-08-22 02:59 ]
Back to top
View user's profile Send private message
jhalstead
PostPosted: Wed Aug 22, 2001 1:04 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Hey Pierre,

Could it be that 'MQHRF ' is not getting put into the MQMD.Format field as you're not asking MQSIputdata to add the MQRFH header?

Jamie H
Back to top
View user's profile Send private message Send e-mail
Pierre-Yves Lesage
PostPosted: Wed Aug 22, 2001 1:55 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2001
Posts: 17
Location: London, UK

Hey Jamie,
Isn't that a coincidence? how are you doing?

Well, I made a typo in my message. We do specify in the .mpf file to use the MQHRF format so that it populates the message descriptor correctly. However, we think the problem might come from some kind of checking that the MQSIruleng or MQSeries would do between the MQSeries header, and the RFH header in the message itself. In other words, the RFH header and the MQSeries header should match in some way. Would that be a possibility?

Pierre-Yves

[ This Message was edited by: Pierre-Yves Lesage on 2001-08-22 02:56 ]
Back to top
View user's profile Send private message
Pierre-Yves Lesage
PostPosted: Wed Aug 22, 2001 4:42 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2001
Posts: 17
Location: London, UK

For those interested, the problem we had was caused by the following: we need to specify MQHRF in the .mpf file followed by 3 spaces so that this string is 8 characters long and fills-in the whole MQMD field. If we don't, the header isn't read correctly.

Cheers.

Pierre-Yves
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 » WebSphere Message Broker (ACE) Support » MQSIgetdata / MQSIputdata batch mode?
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.