Re: Data Conversion of special characters
Hi Dipak, I've have had similar problems with swedish characters. I found the 1252 ccsid being the one that work best in situations like this. You shall also check what code page your NT and Linux is using becaause when displaying the message the character string will be converted to this one. Jonas Nyberg Electrolux IT Solutions - Sweden -Original Message- From: "Gorasia, Dipak" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed, 2 Oct 2002 17:48:13 +0100 Subject: Re: Data Conversion of special characters The channel attributes both have the Convert attribute set to NO and the CCSID in the message descriptor is set to 850 when browsed through amqscbcg. Below is an extract of the message descriptor. AMQSBCG0 - starts here ** MQOPEN - 'XKATETIHTS1' MQGET of message number 1 Message descriptor StrucId : 'MD ' Version : 2 Report : 0 MsgType : 8 Expiry : -1 Feedback : 0 Encoding : 546 CodedCharSetId : 850 Format : 'MQSTR ' Priority : 0 Persistence : 1 MsgId : X'414D5120584252455F4E54585F303031C9BB9A3D32200100' CorrelId : X'' BackoutCount : 0 ReplyToQ : '' ReplyToQMgr: 'XBRE_NTX_001' ** Identity Context UserIdentifier : 'gmse' AccountingToken : X'16010515003B16E6018D61DD7D0705DA09C12A0B' ApplIdentityData : '' ** Origin Context PutApplType: '11' PutApplName: 'C:\Testing\dat\testput.exe ' PutDate : '20021002'PutTime : '10190768' ApplOriginData : '' GroupId : X'' MsgSeqNumber : '1' Offset : '0' MsgFlags : '0' OriginalLength : '-1' Thanks, Dipak -Original Message- From: Robert Broderick [mailto:[EMAIL PROTECTED]] Sent: 02 October 2002 16:29 To: [EMAIL PROTECTED] Subject: Re: Data Conversion of special characters Turn conversion off and then look at the message. If it is converting the message it will change the CCSI in the MQMD to the CCSID of the receiving QMGR. Maybe what you think you are sending isn't what is being received. Make sure the browse program isn't specifing the convert option on the MQGET. bobbee >From: "Gorasia, Dipak" <[EMAIL PROTECTED]> >Reply-To: MQSeries List <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Data Conversion of special characters >Date: Wed, 2 Oct 2002 16:13:46 +0100 > >All, > >I'm having problems sending special characters between two queue managers >from NT 4 (SP6a) to LINUX (Redhat v7.2). I set the LINUX queue manager's >CCSID to 850 (so that no conversions are necessary) and managed to get >special characters successfully sent from Linux to NT. > >However, when sending the message with special chars from NT to Linux the >following hex values get converted to extended codes: >14 to F4- where hex 14 represents device control character 4 >15 to F5- where hex 15 represents negative acknowledgement >9B to BD >9D to BE > >I viewed the message using amqsbcg and browsing the message while still on >the queue. The NT queue manager is running MQ v5.1 and the Linux is running >v5.2. > >What I can't understand is why MQ converts the message even when the CCSIDs >on both queue managers are set to the same value. > >Has anyone else experienced a problem similar to this? > >Does anyone know how to check the default active code page used in a Linux >session. Maybe this has something to do with the problem I am seeing. > >Thanks in advance, >Dipak > > > >This e-mail and any attachment is for authorised use by the intended >recipient(s) only. It may contain proprietary material, confidential >information and/or be subject to legal privilege. It should not be copied, >disclosed to, retained or used by, any other party. If you are not an >intended recipient then please promptly delete this e-mail and any >attachment and all copies and inform the sender. Thank you. > >Instructions for managing your mailing list subscription are provided in >the Listserv General Users Guide available at http://www.lsoft.com >Archive: http://vm.akh-wien.ac.at/MQSeries.archive _ Join the world s largest e-mail service with MSN Hotmail. http://www.hotmail.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://w
Re: Data Conversion of special characters
The channel attributes both have the Convert attribute set to NO and the CCSID in the message descriptor is set to 850 when browsed through amqscbcg. Below is an extract of the message descriptor. AMQSBCG0 - starts here ** MQOPEN - 'XKATETIHTS1' MQGET of message number 1 Message descriptor StrucId : 'MD ' Version : 2 Report : 0 MsgType : 8 Expiry : -1 Feedback : 0 Encoding : 546 CodedCharSetId : 850 Format : 'MQSTR ' Priority : 0 Persistence : 1 MsgId : X'414D5120584252455F4E54585F303031C9BB9A3D32200100' CorrelId : X'' BackoutCount : 0 ReplyToQ : '' ReplyToQMgr: 'XBRE_NTX_001' ** Identity Context UserIdentifier : 'gmse' AccountingToken : X'16010515003B16E6018D61DD7D0705DA09C12A0B' ApplIdentityData : '' ** Origin Context PutApplType: '11' PutApplName: 'C:\Testing\dat\testput.exe ' PutDate : '20021002'PutTime : '10190768' ApplOriginData : '' GroupId : X'' MsgSeqNumber : '1' Offset : '0' MsgFlags : '0' OriginalLength : '-1' Thanks, Dipak -Original Message- From: Robert Broderick [mailto:[EMAIL PROTECTED]] Sent: 02 October 2002 16:29 To: [EMAIL PROTECTED] Subject: Re: Data Conversion of special characters Turn conversion off and then look at the message. If it is converting the message it will change the CCSI in the MQMD to the CCSID of the receiving QMGR. Maybe what you think you are sending isn't what is being received. Make sure the browse program isn't specifing the convert option on the MQGET. bobbee >From: "Gorasia, Dipak" <[EMAIL PROTECTED]> >Reply-To: MQSeries List <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Data Conversion of special characters >Date: Wed, 2 Oct 2002 16:13:46 +0100 > >All, > >I'm having problems sending special characters between two queue managers >from NT 4 (SP6a) to LINUX (Redhat v7.2). I set the LINUX queue manager's >CCSID to 850 (so that no conversions are necessary) and managed to get >special characters successfully sent from Linux to NT. > >However, when sending the message with special chars from NT to Linux the >following hex values get converted to extended codes: >14 to F4- where hex 14 represents device control character 4 >15 to F5- where hex 15 represents negative acknowledgement >9B to BD >9D to BE > >I viewed the message using amqsbcg and browsing the message while still on >the queue. The NT queue manager is running MQ v5.1 and the Linux is running >v5.2. > >What I can't understand is why MQ converts the message even when the CCSIDs >on both queue managers are set to the same value. > >Has anyone else experienced a problem similar to this? > >Does anyone know how to check the default active code page used in a Linux >session. Maybe this has something to do with the problem I am seeing. > >Thanks in advance, >Dipak > > > >This e-mail and any attachment is for authorised use by the intended >recipient(s) only. It may contain proprietary material, confidential >information and/or be subject to legal privilege. It should not be copied, >disclosed to, retained or used by, any other party. If you are not an >intended recipient then please promptly delete this e-mail and any >attachment and all copies and inform the sender. Thank you. > >Instructions for managing your mailing list subscription are provided in >the Listserv General Users Guide available at http://www.lsoft.com >Archive: http://vm.akh-wien.ac.at/MQSeries.archive _ Join the world s largest e-mail service with MSN Hotmail. http://www.hotmail.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Data Conversion of special characters
Turn conversion off and then look at the message. If it is converting the message it will change the CCSI in the MQMD to the CCSID of the receiving QMGR. Maybe what you think you are sending isn't what is being received. Make sure the browse program isn't specifing the convert option on the MQGET. bobbee >From: "Gorasia, Dipak" <[EMAIL PROTECTED]> >Reply-To: MQSeries List <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Data Conversion of special characters >Date: Wed, 2 Oct 2002 16:13:46 +0100 > >All, > >I'm having problems sending special characters between two queue managers >from NT 4 (SP6a) to LINUX (Redhat v7.2). I set the LINUX queue manager's >CCSID to 850 (so that no conversions are necessary) and managed to get >special characters successfully sent from Linux to NT. > >However, when sending the message with special chars from NT to Linux the >following hex values get converted to extended codes: >14 to F4- where hex 14 represents device control character 4 >15 to F5- where hex 15 represents negative acknowledgement >9B to BD >9D to BE > >I viewed the message using amqsbcg and browsing the message while still on >the queue. The NT queue manager is running MQ v5.1 and the Linux is running >v5.2. > >What I can't understand is why MQ converts the message even when the CCSIDs >on both queue managers are set to the same value. > >Has anyone else experienced a problem similar to this? > >Does anyone know how to check the default active code page used in a Linux >session. Maybe this has something to do with the problem I am seeing. > >Thanks in advance, >Dipak > > > >This e-mail and any attachment is for authorised use by the intended >recipient(s) only. It may contain proprietary material, confidential >information and/or be subject to legal privilege. It should not be copied, >disclosed to, retained or used by, any other party. If you are not an >intended recipient then please promptly delete this e-mail and any >attachment and all copies and inform the sender. Thank you. > >Instructions for managing your mailing list subscription are provided in >the Listserv General Users Guide available at http://www.lsoft.com >Archive: http://vm.akh-wien.ac.at/MQSeries.archive _ Join the world s largest e-mail service with MSN Hotmail. http://www.hotmail.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive