ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » packed declimal and character in one message

Post new topic  Reply to topic
 packed declimal and character in one message « View previous topic :: View next topic » 
Author Message
gteplits
PostPosted: Mon Oct 07, 2002 4:47 am    Post subject: packed declimal and character in one message Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Mon Oct 07, 2002 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
gteplits
PostPosted: Wed Oct 09, 2002 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » packed declimal and character in one message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.