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 » [RESOLVED]Hex 15

Post new topic  Reply to topic
 [RESOLVED]Hex 15 « View previous topic :: View next topic » 
Author Message
lung
PostPosted: Mon Jun 18, 2012 8:25 pm    Post subject: [RESOLVED]Hex 15 Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Hi,

I am having an issue with x'15' being converted to x'25'.

The message has an MQMD of CCSID 500 (EBCDIC).

All other characters are CAST properly without issue, only x'15' seems to be converting to x'25'. Even casting via RCD (to MRM) shows the 15 being converted to 25.

This is on WMB v6.

The x'15' in question is part of an account number, it is not really intended to be "New Line".

Anyone encounter similar issue before? What is the cause and workaround?

Thanks!


Last edited by lung on Tue Jun 19, 2012 1:04 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
rekarm01
PostPosted: Mon Jun 18, 2012 11:42 pm    Post subject: Re: Hex 15 Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

lung wrote:
I am having an issue with x'15' being converted to x'25'.

Please provide more details. Which component(s) is (are) performing the conversion(s)? Channel, MQInput node, WMB parser (which parser?), ESQL CAST, or something else? What is the value of the byte before and after each conversion, and what does the code look like that performs the conversion?

lung wrote:
The message has an MQMD of CCSID 500 (EBCDIC).

The MQMD (or other headers) is subject to change after each conversion. What is the value of the relevant ccsid (and Encoding and Format), before and after each conversion?

lung wrote:
The x'15' in question is part of an account number, it is not really intended to be "New Line".

If the MQMD.ccsid is 500, and the MQMD.Format indicates that the byte represents a character, then it's a "New Line". If the intent is that it should be something else, then either the Format is wrong, or the byte is corrupt.

Without more information, it's difficult to tell what the problem might be. But the WMQ InfoCenter could be useful.

lung wrote:
This is on WMB v6.

Time to upgrade?
Back to top
View user's profile Send private message
lung
PostPosted: Tue Jun 19, 2012 1:03 am    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Hi,

Thanks for the reply.

Anyway apparently the x'25' is only appearing in the trace files, when put into Q, it is still x'15'.

I guess WMB just converts the x'15' (new line) to the native CCSID's line feed (x'25) for display purposes.

So, I've been looking at a non existent issue, haha.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
mqsiuser
PostPosted: Tue Jun 19, 2012 1:29 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Is that because Broker converts ccsid-encoded bytes into UTF-16 internally ?!
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jun 19, 2012 3:57 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Is that because Broker converts ccsid-encoded bytes into UTF-16 internally ?!
No. A UTF-16 line feed is 0x000A.
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 » [RESOLVED]Hex 15
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.