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 » MQ Series and Unicode

Post new topic  Reply to topic
 MQ Series and Unicode « View previous topic :: View next topic » 
Author Message
ph_dap
PostPosted: Wed May 12, 2004 10:22 pm    Post subject: MQ Series and Unicode Reply with quote

Novice

Joined: 19 Nov 2003
Posts: 14

Dear all,

I have MQ Series connections between three servers (2 Windows, 1 Unix),
lets call them A,B and C (B and C are Windows based), A is connected to B (, B to C).
Sofar I used the standard installation of MQ Series, which worked fine between A and B (only ascii (non-unicode) messages).
Now we have to connect server C to B.
When using the standard installation, I cannot get the channels between B and C running. Server C is a Polish server, so here they use Unicode for their messages, whereas we were used only to working with ASCII files.
After some reading on this forum, I tried to alter the CCSID of the queuemanager on server B and C to 1208 (=UTF-8 as I understood), which seems to solve the problem.
However, I have some questions.
1) Can anyone tell me wether this solution will work correctly?
2) What about the "convert data" option in MQ? Is (or can) this be of use for this situation? On all servers it currently is not active (convert data=no).
3) The Unix based system runs SAP. SAP has been configured to produce and work with Unicode messages. This means I have to transport all messages from C via B to A, keeping the Unicode data in the message in tact. However, on A (Unix) I cannot alter the CCSID. Viewing the qmgr settings (dis qmgr with runmqsc) I do see the CCSID. What to do? Why can't I change the CCSID value as I can on Windows based platforms?
4) Will "normal" ascii-messages still be transported correctly by MQ Series when I change all CCSID's on every server to 1208? This because server B also has connections to other non-unicode servers.

All help in finding a solution is very much appreciated.
Back to top
View user's profile Send private message
leongor
PostPosted: Thu May 13, 2004 12:12 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Quote:

1) Can anyone tell me wether this solution will work correctly?

yes.
Quote:

2) What about the "convert data" option in MQ? Is (or can) this be of use for this situation? On all servers it currently is not active (convert data=no).

yes it can be used ( all supported conversions you can find in Application Programming Reference Appendix H. )
Quote:

3) The Unix based system runs SAP. SAP has been configured to produce and work with Unicode messages. This means I have to transport all messages from C via B to A, keeping the Unicode data in the message in tact. However, on A (Unix) I cannot alter the CCSID. Viewing the qmgr settings (dis qmgr with runmqsc) I do see the CCSID. What to do? Why can't I change the CCSID value as I can on Windows based platforms?

it should be the same like on windows : echo "alter qmgr ccsid(1208)" | runmqsc <QMName>
Don't forget to restart queue manager after that.
If you have errors post them here.
Quote:

4) Will "normal" ascii-messages still be transported correctly by MQ Series when I change all CCSID's on every server to 1208? This because server B also has connections to other non-unicode servers.

yes.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
ph_dap
PostPosted: Thu May 13, 2004 1:11 am    Post subject: Reply with quote

Novice

Joined: 19 Nov 2003
Posts: 14

Thank you Leonid for your reply.

Regarding my third question. I tried and got following result:

"d-sqasrv:/home/mqm> echo "alter qmgr ccsid(1208)" | runmqsc D_SQASRV
84H2000,5765-B73 (C) Copyright IBM Corp. 1994, 1997 ALL RIGHTS RESERVED.
Starting MQSeries Commands.

1 : alter qmgr ccsid(1208)
AMQ8405: Syntax error detected at or near end of command segment below:-
alter qmgr ccsid
AMQ8427: Valid syntax for the MQSC command:


ALTER QMGR [ FORCE ] [ AUTHOREV( ENABLED | DISABLED ) ]
[ CHAD( DISABLED | ENABLED ) ] [ CHADEV( DISABLED | ENABLED ) ]
[ CHADEXIT(string) ] [ DEADQ(string) ]
[ DEFXMITQ(string) ] [ DESCR (string) ]
[ INHIBTEV( ENABLED | DISABLED ) ] [ LOCALEV( ENABLED | DISABLED ) ]
[ MAXHANDS(integer) ] [ MAXMSGL(integer) ]
[ MAXUMSGS(integer) ] [ PERFMEV( ENABLED | DISABLED ) ]
[ REMOTEEV( ENABLED | DISABLED ) ] [ STRSTPEV( ENABLED | DISABLED ) ]
[ TRIGINT(integer) ]
1 MQSC commands read.
1 commands have a syntax error.
0 commands cannot be processed."

Displaying the qmgr settings results in:

"d-sqasrv:/home/mqm> echo "dis qmgr" | runmqsc D_SQASRV
84H2000,5765-B73 (C) Copyright IBM Corp. 1994, 1997 ALL RIGHTS RESERVED.
Starting MQSeries Commands.

1 : dis qmgr
AMQ8408: Display Queue Manager details.
DESCR( ) DEADQ(D_SQASRV.DQ)
DEFXMITQ( ) CHADEXIT( )
COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE) QMNAME(D_SQASRV)
TRIGINT(0) MAXHANDS(256)
MAXUMSGS(10000) AUTHOREV(DISABLED)
INHIBTEV(DISABLED) LOCALEV(DISABLED)
REMOTEEV(DISABLED) PERFMEV(DISABLED)
STRSTPEV(ENABLED) CHAD(DISABLED)
CHADEV(DISABLED) MAXMSGL(104857600)
MAXPRTY(9) CCSID(819)
CMDLEVEL(500) PLATFORM(UNIX)
SYNCPT DISTL(YES)
1 MQSC commands read.
0 commands have a syntax error.
0 commands cannot be processed."

Here I do see the CCSID.

I mentioned using ccsid 1208. Where can I find which characters can be used with this ccsid? Does ccsid 1208 the euro-sign? Or should I use ccsid 1253?
Back to top
View user's profile Send private message
JasonE
PostPosted: Thu May 13, 2004 1:40 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

What version / fixpack of MQ is this. I suspect 5.0, in which case the alter ccsid option was only enabled (working...) in csd06.
Back to top
View user's profile Send private message
ph_dap
PostPosted: Thu May 27, 2004 2:59 am    Post subject: Reply with quote

Novice

Joined: 19 Nov 2003
Posts: 14

Sorry guys, the version on Unix was CSD05. I changed that and was able to modify the CCSID setting.

Still ... I'm lost. Maybe one of you can help me here.
(Neat ... you start out with one question ... you get answers, which in their turn make you pose new questions ...)

I'm testing now in transporting messages from a Polish server to a Dutch one. I need to keep the Polish special chars intact. Therefor, I choose to have the message in UTF-8 format.

1) Would it make any difference for the messagecontent if I have the CCSID on both servers set to 1208 or both on 437? It appears to me it doesn't.

2) Am I correct and assuming this:
if the CCSID is not the same on both sides, MQ Series on the receiving end will lookup if there is a conversion-entry in the ccsid.tbl. If so, it will convert (envelope? messagecontent? both?), if there's not, I would need to create an exit myself to convert?

3) Does the CCSID actually have any influence on the message-content?
Or is it just the envelope that is influenced by the CCSID?

Any help would be appreciated very much, thank you.
regards.
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 » MQ Series and Unicode
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.