Author |
Message
|
gandhi_manoj |
Posted: Thu Aug 15, 2002 7:46 am Post subject: Length of Bad Message Header in R/3 Link |
|
|
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 |
|
 |
tso0rxp |
Posted: Thu Aug 15, 2002 2:32 pm Post subject: |
|
|
 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 |
|
 |
jhalstead |
Posted: Fri Aug 16, 2002 12:04 am Post subject: |
|
|
 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 |
|
 |
sailor |
Posted: Tue Mar 25, 2003 11:52 pm Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Wed Mar 26, 2003 8:05 pm Post subject: |
|
|
 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 |
|
 |
sailor |
Posted: Thu Mar 27, 2003 2:34 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Thu Mar 27, 2003 10:33 pm Post subject: |
|
|
 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 |
|
 |
|