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 » CAN WE CONVERT BLOB MESSAGE TO MRM IN COMPUTE NODE

Post new topic  Reply to topic
 CAN WE CONVERT BLOB MESSAGE TO MRM IN COMPUTE NODE « View previous topic :: View next topic » 
Author Message
kiran
PostPosted: Wed Feb 06, 2002 5:47 pm    Post subject: Reply with quote

Newbie

Joined: 05 Feb 2002
Posts: 3

Hi all,
Can we covert a BLOB message into MRM message in a compute node,if we don't no the message type.I have 'n' no.,of messages in a message set,so i can't give the message name.It will be a great help,if any one can reply back on this.
Thank's
Kiran
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Feb 06, 2002 6:42 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Kiran,

ASAIK, no you can't as the parser needs to know which message to parse it against.

Is there anything in the BLOB you can check for (in hex) to determine which of the messages it is. Then you can set the properties to allow it to be parsed.

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kiran26
PostPosted: Thu Feb 07, 2002 8:37 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2002
Posts: 69

Hi,
Can we convert a BLOB message to MRM type in COMPUTE node,if we know the Message type.
Thanks
kiran
Back to top
View user's profile Send private message
mpuetz
PostPosted: Thu Feb 07, 2002 10:38 am    Post subject: Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi,

you can't do it within a single compute node
even if you know the message type, since there
is no ESQL command to force the parser to reparse
the message buffer.
In your situation what one typically does, is use
an *external* loop parse the message piecemeal.
E.g.

- save message as blob in DestinationList
- filter(more messages ?)
- compute(extract next into blob,set MessageDomain to BLOB,set MRM message type)
- resetcontentdescriptor(to MRM)
- do your stuff with that part of the message
- compute(increase message counter)
- jump back to filter node

See the recent topic on 'BIP2121E and BIP2106E' for implications
when you use these external loops.



_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
Back to top
View user's profile Send private message
kiran26
PostPosted: Thu Feb 07, 2002 11:03 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2002
Posts: 69

Hi,
Where can i find recent topics on 'BIP2121E and BIP2106E' for implications.Can u explain in more detail the steps i have to follow,if u have time.
Thank's
kiran
Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Fri Feb 08, 2002 2:00 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

With WMQI 2.1, you can actually do a partial parse in a Compute node, using reference variables and the new CREATE statement:
CREATE NEXTSIBLING OF myRef PARSE(
SUBSTRING(InputBody."BLOB" FROM 101),
MQENC_INTEGER_REVERSED, myCCSID, myMsgSetID, myMsgID, myMsgFormatID);
Back to top
View user's profile Send private message Send e-mail
mpuetz
PostPosted: Fri Feb 08, 2002 2:26 am    Post subject: Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi,

if you are already using 2.1 Miriams solution is as short as it gets.
If you still have to use 2.0.2 let me know your email address
in a private message and I'll mail you an example.

_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
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 » CAN WE CONVERT BLOB MESSAGE TO MRM IN COMPUTE NODE
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.