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 » EBCDIC format to a character format in Message Broker

Post new topic  Reply to topic
 EBCDIC format to a character format in Message Broker « View previous topic :: View next topic » 
Author Message
raghav129
PostPosted: Wed May 14, 2008 12:59 am    Post subject: EBCDIC format to a character format in Message Broker Reply with quote

Novice

Joined: 30 Aug 2007
Posts: 17

Hello,

How can I convert EBCDIC format to a character format inside Message broker?

Any ideas/suggestions would be gratefaul,
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 14, 2008 1:12 am    Post subject: Re: EBCDIC format to a character format in Message Broker Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raghav129 wrote:
How can I convert EBCDIC format to a character format inside Message broker?


EBCDIC is character!

If you're receiving messages from z/OS onto an ASCII platform, ensure the code page conversion is set up properly. This is WMQ, not WMB.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
raghav129
PostPosted: Wed May 14, 2008 1:38 am    Post subject: Reply with quote

Novice

Joined: 30 Aug 2007
Posts: 17

Many thanks for your reply,

How do we achieve that in MQ,

I am relatively new to MQ,so not sure how to setup this in MQ
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 14, 2008 1:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raghav129 wrote:
I am relatively new to MQ,so not sure how to setup this in MQ


- Get some training
- Ask whoever's administering the queue managers to ensure the code pages on the respective queue managers are set correctly
- Ensure conversion is enabled on the MQInput node
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 14, 2008 2:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And if your message is text only make sure the sender sets

MQMD.FORMAT=MQC.MQFMT_STRING

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed May 14, 2008 2:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
MQMD.FORMAT=MQC.MQFMT_STRING


Every time I forget that. Every time!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
raghav129
PostPosted: Wed May 14, 2008 9:43 pm    Post subject: Reply with quote

Novice

Joined: 30 Aug 2007
Posts: 17

Thanks for your inputs

We were able to achieve this by using CAST function with right CCSID and Encoding value.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 14, 2008 11:26 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raghav129 wrote:
We were able to achieve this by using CAST function with right CCSID and Encoding value.


You should have been able to do this with the convert option as indicated.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
raghav129
PostPosted: Thu May 15, 2008 2:53 am    Post subject: Reply with quote

Novice

Joined: 30 Aug 2007
Posts: 17

The convert option is unable to do that..

Not sure if the convert option of the MQInput Node has some problem.

Many of my team members are facing the same problem with the convert option.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 15, 2008 1:53 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

raghav129 wrote:
Thanks for your inputs

We were able to achieve this by using CAST function with right CCSID and Encoding value.

Should be even easier.
Model the data in a message set (import Cobol copy book).
On the Output.Properties.CodedCharSetId put the output CCSID 1208 (UTF-8 ) and send to MQOutput node. On the queue you will have a msg in UTF-8

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » EBCDIC format to a character format in Message Broker
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.