Author |
Message
|
NewMB |
Posted: Wed Jan 05, 2005 11:52 am Post subject: Designing a message flow |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I am new to WBIMB. I am looking for help to do a simple message flow. Here is the requirement.
1. Messages come in as Text message
"FirstName LastName "
20 Chars 20 Chars
2. I need to access the first 20 Chars to determine which queue the
message should go.
My initial design is using MRM parsar, MQinput, Compute and MQOutput nodes.
Please help! |
|
Back to top |
|
 |
Nizam |
Posted: Wed Jan 05, 2005 12:32 pm Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
If this is all you want to do....
You do not need a MRM parser. You can read the message as BLOB in your MQInput node and read the first 20 characters in the esql for your compute node and use the destination mode in your MQOutput as destination list.
To do this, you need to know
1. about using messages in BLOB domain.
2. using the Destination list in MQOutput. |
|
Back to top |
|
 |
NewMB |
Posted: Wed Jan 05, 2005 1:39 pm Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
How about if the message is generated by COBOL program (I have a copybook ready)? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 05, 2005 1:42 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
We are here to help you troubleshoot problems.
We are not here to read you the documentation, nor provide free training.
Your "problem" is specifically addressed in the documentation and in the samples provided. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Wed Jan 05, 2005 4:24 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
NewMB,
Nizam has already replied to your question. It doesn't matter from which platform your input message is coming from. You can either use MRM to model your input message or get away with SUBSTRING, and CAST function by reading the input message as BLOB.
Hint: Use SUBSTRING and CAST function with CCSID option when routing mesages.
Thanks,
Kiran _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
NewMB |
Posted: Thu Jan 06, 2005 8:20 am Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
All I need is a direction of how to do it. Thank you for all your replies. They are very helpful to me. Thanks |
|
Back to top |
|
 |
|