|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Handling Signed Data |
« View previous topic :: View next topic » |
Author |
Message
|
lucas88 |
Posted: Mon Aug 26, 2002 8:18 am Post subject: Handling Signed Data |
|
|
Newbie
Joined: 26 Aug 2002 Posts: 1
|
Hi experts:
I have a situation handling signed input data (has sign when it's negative, no sign when it's positive) from a queue?
Can WMQI parse this type of data?
I am new to WMQI and really appreciate detail input on how to resolve this problem.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Mon Aug 26, 2002 3:09 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Yes.
Each input message on the queue is generated by some application. For example, If the application is COBOL, it writes message in fixed length format. If it is a C application, it will write data in form of some C structure.
To be able to read these kinds of messages, you have to model your input message into MRM. For example, A C application can write message on the queue with just a single integer element. This will occupy 4 bytes. Now you will define an Element into MRM, which maps to this integer field. You will then create MRM Type and message, which maps to your input message format. While reading input message from queue, you can specify the MRM format to apply (parse) on the message. Once the message is parsed, you can refer to MRM element value and manipulate it using ESQL.
Your question is very broad. There is so much to explain and it cannot be done in this forum!! Please refer to WMQI 2.1 Working With Messages manual and Developing Solutions in WMQI for some examples. _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|