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 » CHARACTER TYPE

Post new topic  Reply to topic
 CHARACTER TYPE « View previous topic :: View next topic » 
Author Message
sockynow
PostPosted: Tue Jan 09, 2007 7:21 pm    Post subject: CHARACTER TYPE Reply with quote

Novice

Joined: 02 Apr 2006
Posts: 13

Hi All,

I declare a variable character type and set value follwing:

DECLARE str CHARACTER;

SET str='têst';

But when I debug then value of variable is changed to
str='têst'

thanks for help me!
Back to top
View user's profile Send private message
pathipati
PostPosted: Tue Jan 09, 2007 7:39 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

What about the output in non debug mode?
Back to top
View user's profile Send private message Yahoo Messenger
sockynow
PostPosted: Tue Jan 09, 2007 7:52 pm    Post subject: Reply with quote

Novice

Joined: 02 Apr 2006
Posts: 13

input message is xml domain

<data>
<value>ê</value>
</data>

and CCSID of input message is 1208.

I get value of tag value in ESQL then use POSITION function following:

DECALARE int i;
DECLARE str CHARACTER;
DECLARE vheader REFERENCE TO "InputRoot"."XML"."Data";

SET str = 'têst';

SET i=(vheader.value in str);

It return 0 (wrong)

I debug my proggram then value of str is 'têst' and vheader.value is 'ê'
Back to top
View user's profile Send private message
sarat
PostPosted: Tue Jan 09, 2007 9:29 pm    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

To accept the Special characters you should use the suitable CCSID!!!
And in which format ur giving the input... i mean .xml or UTF???
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jan 10, 2007 1:20 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
input message is xml domain
Any reason why you did not use the XMLNSC domain? ( I presume you are on v6 )
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 » CHARACTER TYPE
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.