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 » General IBM MQ Support » How to convert UTF-8 from PC to EBCDIC in Mainframe?

Post new topic  Reply to topic
 How to convert UTF-8 from PC to EBCDIC in Mainframe? « View previous topic :: View next topic » 
Author Message
Fannyfcwong
PostPosted: Thu Dec 12, 2002 5:18 pm    Post subject: How to convert UTF-8 from PC to EBCDIC in Mainframe? Reply with quote

Novice

Joined: 04 Jul 2002
Posts: 13

Do anyone know how can I convert UTF-8 from PC to EBCDIC in Mainframe where Mainframe runs on MQSeries V2.1? Is it possible?
Back to top
View user's profile Send private message
nirmala
PostPosted: Thu Dec 12, 2002 11:08 pm    Post subject: Reply with quote

Novice

Joined: 08 Oct 2002
Posts: 20

It should get automatically converted if u use the CONVERT option in the MQGMO and then try using the getting the message.

I have worked across NT and Mainframe, and didnt have to use anything other than this.
Back to top
View user's profile Send private message
udaybho
PostPosted: Fri Dec 13, 2002 6:50 am    Post subject: Reply with quote

Voyager

Joined: 09 May 2002
Posts: 94
Location: Chicago

What Nirmala said is true if you have message with text Body. If your message body contains Decimals and Integers then you have to use other mechanism.

In past I had used IBM Record Library or MQSI to do this type of conversion.

Uday Bhosle
Back to top
View user's profile Send private message Send e-mail
pgorak
PostPosted: Fri Dec 13, 2002 7:01 am    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

Perhaps this is not your case, but: if your messages contain RFH2 folders they will not get converted. I send messages containing RFH2 folders from UNIX to mainframe and the folders must be converted manually (unless I'm missing something).

Piotr
Back to top
View user's profile Send private message
udaybho
PostPosted: Fri Dec 13, 2002 9:04 am    Post subject: Reply with quote

Voyager

Joined: 09 May 2002
Posts: 94
Location: Chicago

Piotr, you have to make sure that you have proper encoding in all Headers.
Back to top
View user's profile Send private message Send e-mail
pgorak
PostPosted: Mon Dec 16, 2002 2:11 am    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

Quote:
Piotr, you have to make sure that you have proper encoding in all Headers.


Do you mean it is possible to have MQRFH2 folders' content automatically converted by sender channel?

Piotr
Back to top
View user's profile Send private message
udaybho
PostPosted: Mon Dec 16, 2002 6:44 am    Post subject: Reply with quote

Voyager

Joined: 09 May 2002
Posts: 94
Location: Chicago

Yes.

Uday Bhosle
Back to top
View user's profile Send private message Send e-mail
pgorak
PostPosted: Wed Dec 18, 2002 3:10 am    Post subject: Reply with quote

Disciple

Joined: 15 Jul 2002
Posts: 158
Location: Cracow, Poland

So is there a general rule that says when conversion occurs and when it doesn't? What I can gather from documentation is only that once you retrieve a message you can rely on CCSIDs in each header, but "each part of a message may or may not be converted".

Let's say we have the following message:

MQMD:
CodedCharSetId=912
Format=MQRFH2
Encoding=273

MQRFH2:
CodedCharSetId=912
NameValueCCSID=1208
Format=MQSTR
Encoding=273

Assuming we have some MQRFH2 folders (1208) and some text (912) after MQRFH2 header, what rules does MQSeries follow to convert each part, when such a message is sent to mainframe?

Piotr
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 » General IBM MQ Support » How to convert UTF-8 from PC to EBCDIC in Mainframe?
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.