|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
labelnode for MRM messages? |
« View previous topic :: View next topic » |
Author |
Message
|
vickie_ews |
Posted: Mon Oct 07, 2002 1:39 pm Post subject: labelnode for MRM messages? |
|
|
Novice
Joined: 04 Sep 2002 Posts: 18
|
We receive messages from a COBOL application, transform to XML, and send to a client. In our original design, the MQInput node (w/corresponding queue) designate:
Message Domain: MRM
Message Set: DQJNS7894Q001
Message Type: Finance
Message Format: CWF
With multiple COBOL messages and want to use route-2-label node to send to the appropriate flow for transformation. However, on the label node, there is not a window to designate the MRM message set type, etc. Can the Compute Node still specify the MRM Properties without an MQInput node? Is the routing to the labelnode dynamic? or does it require a queue and corresponding input node?
gratefully,
vickie_ews |
|
Back to top |
|
 |
emillions |
Posted: Mon Oct 07, 2002 3:16 pm Post subject: ResetContentDescriptor |
|
|
Newbie
Joined: 23 Jul 2002 Posts: 4 Location: Calgary, Canada
|
After the label node, prior to the compute node, use a ResetContentDescriptor (RCD) node to specify the message set. I did this with 38 transactions, using the transaction name for the labelname. Very straightforward.
- Evelyn |
|
Back to top |
|
 |
lung |
Posted: Mon Oct 07, 2002 5:48 pm Post subject: |
|
|
 Master
Joined: 27 Aug 2002 Posts: 291 Location: Malaysia
|
vickie-ews,
In your input node, you already specified your message type as 'Finance'. So if a message of a different layout comes in, exception will occur before u even reach your label node or any other nodes.
What we did is specifying the message domain in our input node as 'BLOB'. Then, in a compute node, we will determine the message type through a specific field in the message. The message will then be routed to an RCD node to be parsed as MRM-CWF, then sent to another compute node where we transform the message to XML.
This is pretty tedious work since in BLOB we are reading everything in HEX and field comparisons need to be done in HEX as well... If everyone knows of a better way to do this (is there an ESQL syntax to convert HEX to readable form such as ASCII or EBCDIC?) then I will really appreciate it.
Until then...  _________________ lung |
|
Back to top |
|
 |
kirani |
Posted: Mon Oct 07, 2002 7:12 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Lung,
Is it possible to change COBOL application to put routing data into one of the MQMD field, for example, MQMD.ApplIdentityData or MQMD.MsgType? If so, you could directly route based on the value specified into this field.
Sometimes it is not possible to send data in these fields, in that case I use CAST ... CCSID to compare against ASCII values.
Have a look at this thread.
http://www.mqseries.net/phpBB2/viewtopic.php?t=3983&highlight=ccsid _________________ 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 |
|
 |
lung |
Posted: Tue Oct 08, 2002 5:00 pm Post subject: |
|
|
 Master
Joined: 27 Aug 2002 Posts: 291 Location: Malaysia
|
That thread is pretty helpful, Kiran... But can you post some sample codes?
If the input message is read as BLOB, can we still read the MQMD fields in 'non-hex' format?
It is possible to populate the MQMD fields with some data... But I don't really get what your point is here... What data should I put in here and what routing?
Thanks!  _________________ lung |
|
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
|
|
|
|