|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
packed declimal and character in one message |
« View previous topic :: View next topic » |
Author |
Message
|
gteplits |
Posted: Mon Oct 07, 2002 4:47 am Post subject: packed declimal and character in one message |
|
|
Apprentice
Joined: 16 Jul 2001 Posts: 29
|
I need to convert message coming from OS/390 into WMQI input queue on AIX. Message consists form both packed decimal and character fields.
We usually do EBCDIC/ASCII conversion on channel, but with packed decimal that wouldn't work.
Would it be sufficient not to do channel conversion, rather check
"Convert" box on MQInput message and put OS/390 values for "Convert Encoding" and "Convert CCSID"?
WMQI broker runs on AIX box.
TIA, George. |
|
Back to top |
|
 |
kirani |
Posted: Mon Oct 07, 2002 8:26 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
George,
Convert checkbox on MQInput node maps to MQGMO_CONVERT option. This option will work only for messages whose MQMD.Format field is set to MQSTR, CONVERT=YES option on channel does the same thing. It is a "good practice" to do data conversion in the program rather than doing it at the channel level.
WMQI is capable of doing Data Conversion for you. You need to define your input message format in MRM-CWF format, and then parse your input message using this message defn. After parsing your input message you can directly refer to your PackedDecimal field value using ESQL. _________________ 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 |
|
 |
gteplits |
Posted: Wed Oct 09, 2002 8:49 am Post subject: |
|
|
Apprentice
Joined: 16 Jul 2001 Posts: 29
|
Thank you, Kiran!
After assigning proper Enumeration and CCSID values (for OS/390, since we removed channel conversion), WMQI had no problem parsing message.
Regards, George. |
|
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
|
|
|
|