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 » How to check results of Create ... Parse

Post new topic  Reply to topic
 How to check results of Create ... Parse « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Fri Aug 10, 2007 7:52 am    Post subject: How to check results of Create ... Parse Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I have a requirement to validate the incoming message against a number of message defintions (i.e. the incoming message can be one of the several definitions). My test flow is just a simple
MQINPUT --> Compute ---> MQOUTPUT
In the compute node, I am think of using the "create..parse" statement to parse the input message against my message defintion. Because I have a few message definition, I need to have multiple "cretae--parse". So if the Input message does not match the first message defintion. It will fall through to the next "create..parse" statement. I am not sure if this is the right way to do this. If it is, then I need to check the return code of the "create..parse" statement. But the info center does not say what is the return code of the "create..parse".
Any suggestion ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 10, 2007 9:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Maybe you can do things to allow the parser to identify the message for you, so you don't have to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Fri Aug 10, 2007 9:25 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Hi jefflowrey, can you elaborate how I can get the parser to tell me ? Please excuse my ignorance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 10, 2007 9:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It depends.

If your data is XML, if you use MRM-XML then it will choose the message definition based on the the root tag.

Otherwise you can use a Message Identity.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Aug 10, 2007 11:32 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
If your data is XML, if you use MRM-XML then it will choose the message definition based on the the root tag.
This is true. And it means that you do not need to use CREATE...PARSE to do the parsing - just leave Message Type empty in the Default page of the input node properties.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Fri Aug 10, 2007 4:05 pm    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

These are all CWF messages described by cobol copy book. I am receiving them as BLOB and looking for a way to determine which message definition each belong to and then route it to the appropriate node for further processing.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Aug 10, 2007 4:15 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you have a field which can be used as a Message Identity then that might be the best approach. However, if the processing is very different for each message you might choose to keep the message set simple and use CREATE...PARSE or an RCD node on each branch/subflow.
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 » How to check results of Create ... Parse
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.