|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issues with CCSID,WMQI 2.1.9 |
« View previous topic :: View next topic » |
Author |
Message
|
mqmaniac |
Posted: Tue May 30, 2006 11:41 am Post subject: Issues with CCSID,WMQI 2.1.9 |
|
|
 Master
Joined: 27 Dec 2005 Posts: 201
|
I have a flow to convert Cobol to Xml.
I am using MRM Domian to parse the Message and Transforming to XML Message.When I see the tRansformed Message on Mainframe using RFHUTILC,and select EBCDIC and XML I am able to see the Message.
BUT..
When I send this Message to Another Queue Manager on Solaris..The Application is Unable to Read the Message.I am using MQJExploer to Browse Messages on Solaris Machine and Its not Displaying The Message Format.
When I read the Cobol data..The MRM is converting the Data and I am not using CCSID in my Esql Code.I specified Convert Option In the Input Nodes.
I want to know...How to Make the flow Convert the Output Message to The Solaris QueueManagers CCSID..
Pls Help |
|
Back to top |
|
 |
shalabh1976 |
Posted: Wed May 31, 2006 9:16 pm Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
Asking for a change on the input node is one way to do it.
Another way is to code it in esql by modifying the MQMD header.
You can try running a trace to see the value of CCSID that is being set. _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 01, 2006 5:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
please look at the message using amqsbcg on Solaris. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqmaniac |
Posted: Thu Jun 01, 2006 2:20 pm Post subject: |
|
|
 Master
Joined: 27 Dec 2005 Posts: 201
|
Thanks for the Replies.
The Reson was that MQMD.Format field was not Set and I had to set it to MQSTR Explicitely in ESQL,and it worked.
This is bit Confusing.
An MVS application sends me flat file and I convert it to XML.
I am Creting the Whole XML Message and Assigning MRM Fields to it.
Why doesnt the Broker Assign the Fomat to the Message???
I thought Its Implicit |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 01, 2006 2:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
CopyEntireMessage() and CopyMessageHeaders() moves the entire MQMD from the input to the output.
So if the Input message comes in without an MQFMT_STRING, then the output message will not have one either - unless you explictly set it.
If you are creating the MQMD from scratch, then the default MQMD has MQFMT_NONE and not MQFMT_STRING. So again, you have to explicitly set it. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|