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 » General IBM MQ Support » Length of Bad Message Header in R/3 Link

Post new topic  Reply to topic
 Length of Bad Message Header in R/3 Link « View previous topic :: View next topic » 
Author Message
gandhi_manoj
PostPosted: Thu Aug 15, 2002 7:46 am    Post subject: Length of Bad Message Header in R/3 Link Reply with quote

Novice

Joined: 26 Mar 2002
Posts: 20

Hi,
We are using MQSeries Link for R/3.
In the inbound process due to some connection problem the messages go to the BADMESSAGE queue.
MQ adds a Bad Message HEader to the original message.
We need to strip this header and redirect the message to the inbound queue.
What is the size of this Bad message header?

TIA,
Manoj
Back to top
View user's profile Send private message
tso0rxp
PostPosted: Thu Aug 15, 2002 2:32 pm    Post subject: Reply with quote

Voyager

Joined: 07 Jan 2002
Posts: 85

Just get the message using any of the supplied amq programs for MQ (or your own) and the header will be separated from the data in the output file (with the length of each). In our environment, we just get the bad message, drop it to a file and then put the file to the input queue to R/3 link. Works like a charm.
Back to top
View user's profile Send private message Send e-mail
jhalstead
PostPosted: Fri Aug 16, 2002 12:04 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

When you install the link for R/3 the smqc.h header file is included.

The definition of the SMQ_BAD header...

MQCHAR Identifier[SMQ_ID_LEN];
MQLONG Version;
MQLONG ErrorType;
MQLONG Reason;
MQLONG Encoding;
MQLONG CodedCharSetId;
MQCHAR8 Format;
MQLONG PutApplType;
MQCHAR28 PutApplName;
MQCHAR8 PutDate;
MQCHAR8 PutTime;
Back to top
View user's profile Send private message Send e-mail
sailor
PostPosted: Tue Mar 25, 2003 11:52 pm    Post subject: Reply with quote

Novice

Joined: 25 Mar 2003
Posts: 15
Location: Germany

Hi,
is there any tool available that can read a message from the BADMESSAGEQUEUE automatically and put it to its destination queue?
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Mar 26, 2003 8:05 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Need more info:
- Would all of the messages in BADMESSAGEQUEUE go to same GOODMESSAGEQUEUE? or go to a variety of queues?
- Would messages in your BADMESSAGEQUEUE have a header on the messages (i.e. like the Dead Letter Queue) ?
- What condition(s) caused the messages to go to the BADMESSAGEQUEUE? and would the tool need to check for these conditions ?

For a simple mass move, i.e. B -> G, I have a tool called MMX (Message Multiplexer) that can move a move a message from one queue to 'n' queues (or in your case, 1 queue). This 'C' program has been tested on many platforms including OS/390.

Also, I have a GUI tool called MQ Visual Edit that allows you to selectively "forward" (move) messages from 1 queue to another queue.

Both are free and available from my web site. But my web site is currently down. I am so tired of my @#$@#&$@ web hosting company.

Hopefully, it will be back up soon.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
sailor
PostPosted: Thu Mar 27, 2003 2:34 am    Post subject: Reply with quote

Novice

Joined: 25 Mar 2003
Posts: 15
Location: Germany

Hi Roger,
thanks for your reply.
The messages in the BADMESSAGEQUEUE are messages that come from a R/3 link inbound server and could not be delivered due to various reasons. Hence the tool should be able to eliminate the BADMESSAGE header and to put it into the inbound queue again.

Bye
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Mar 27, 2003 10:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Sounds like you need some "services" work. You can email me off-line.

Regards,
Roger Lacroix
Enterprise Architect
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Length of Bad Message Header in R/3 Link
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.