|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Removing strange characters (X'3E7E03') from a large message |
« View previous topic :: View next topic » |
Author |
Message
|
Tero |
Posted: Wed Mar 01, 2006 1:43 am Post subject: Removing strange characters (X'3E7E03') from a large message |
|
|
Newbie
Joined: 31 Jan 2006 Posts: 3
|
Hi
I have somewhat large messages coming to Message Broker from a mainframe. They are larger than 32 k so they have been split and built together again by the MQ (I guess).
The problem is that there are strange characters in the places where the message has been split and built again. The hex values of the characters are X'3E7E03' + X'01'/X'02'/X'03' and so on..
Is there some "automatic" way of removing the characters?
I tried using the translate function to remove the characters. It works fine but still it leaves the FIRST cut-point (where the first and second part of the message are split and built) one character shorter that it is supposed to be. So one character is missing from there and I can't have that happening. This doesn't happen in the second or third cut-points.
The translate shouldn't be removing any character but the specified ones..
Does anyone have any ideas? PLEASE help me if you can.
I am running MB V5 with fixpack 4.
Thanks in advance!! |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Mar 01, 2006 3:58 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Tero,
You got to tell us your flow logic better.
Are you getting the entire message and then seperating them in a compute node ?
Your message is a blob ? What does X'3E7E03' represent,if you know it ?
Quote: |
Is there some "automatic" way of removing the characters? |
If you had a message set, you could define the delimiter as whatever X'3E7E03' meant....
How come your "first cut-out point" and rest are working differently,....the message cound be different...can we see the code...?
Regards. |
|
Back to top |
|
 |
SixBlade |
Posted: Wed Mar 01, 2006 5:09 am Post subject: |
|
|
Apprentice
Joined: 03 Dec 2003 Posts: 26 Location: UK
|
Another clarification: 32K is not a maximum size for MQ v5 messages, think default on queue/channels etc is 4MB, and can be up to 100MB. MQ won't split messages either, unless some program (exit program, sending application etc) is doing it. But maybe you know that and are using the grouping method for example.
I'm not sure the format was clear to me, you get:
...data..... X'3E7E03', X'01' ......more data...... X'3E7E03', X'02' ..... more data...
?? |
|
Back to top |
|
 |
dsriksha |
Posted: Wed Mar 01, 2006 10:43 am Post subject: |
|
|
 Voyager
Joined: 27 Feb 2005 Posts: 95
|
|
Back to top |
|
 |
JT |
Posted: Wed Mar 01, 2006 1:17 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
I tried using the translate function to remove the characters. It works fine but still it leaves the FIRST cut-point (where the first and second part of the message are split and built) one character shorter that it is supposed to be. |
Can you show us the ESQL you tried ? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|