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 » ImbConverterCPP::internalToUnicode

Post new topic  Reply to topic
 ImbConverterCPP::internalToUnicode « View previous topic :: View next topic » 
Author Message
saianvesh.balaraju
PostPosted: Thu Nov 05, 2015 6:02 am    Post subject: ImbConverterCPP::internalToUnicode Reply with quote

Newbie

Joined: 05 Nov 2015
Posts: 2

Hi,

We are passing a value to DB stored procedure and we are receiving an encrypted/unicode character i guess. We are receiving the following error while setting up that value to a variable which is declared as a character. your help could be lot helpful. Below is the logs

(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'SET D1 = Storedcall(Num);' (CHARACTER)
)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = '/build/slot1/S900_P/src/DataFlowEngine/ImbRdl/ImbRdlRoutine.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1362 (INTEGER)
(0x03000000:NameValue):Function = 'SqlRoutine::invoke' (CHARACTER)
(0x03000000:NameValue):Type = 'ImbESQLManager' (CHARACTER)
(0x03000000:NameValue):Name = 'ImbESQLManager' (CHARACTER)
(0x03000000:NameValue):Label = 'ImbESQLManager' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2934 (INTEGER)
(0x03000000:NameValue):Text = 'Error occured in procedure' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'Storedcall' (CHARACTER)
)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = '/build/slot1/S900_P/src/CommonServices/ImbConverter.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 583 (INTEGER)
(0x03000000:NameValue):Function = 'ImbConverterCPP::internalToUnicode' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2135 (INTEGER)
(0x03000000:NameValue):Text = 'Unconvertable character' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'fa' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'fa53484fa0edeb5dcc6e95fd81ccdb850383896b7f1871d3' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '1208' (CHARACTER)
)
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 05, 2015 6:54 am    Post subject: Re: ImbConverterCPP::internalToUnicode Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

saianvesh.balaraju wrote:
we are receiving an encrypted/unicode character i guess.


Why are you guessing? What happens when you call the stored proc externally to IIB with that value?

saianvesh.balaraju wrote:
We are receiving the following error while setting up that value to a variable which is declared as a character


Erm....
saianvesh.balaraju wrote:

Code:


(0x01000000:Name     ):Insert               = (
                        (0x03000000:NameValue):Type = 5 (INTEGER)
                        (0x03000000:NameValue):Text = 'SET D1 = Storedcall(Num);' (CHARACTER)


Typically you don't see a character value described as "INTEGER"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
saianvesh.balaraju
PostPosted: Thu Nov 05, 2015 9:41 pm    Post subject: Reply with quote

Newbie

Joined: 05 Nov 2015
Posts: 2

Sry. we are receiving the text as encrypted string.

We pass a number to the stored procedure, which in turn encrypts the text and we are assigning the result to a variable in IIB
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 06, 2015 5:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

saianvesh.balaraju wrote:
we are assigning the result to a variable in IIB


And clearly that "string" doesn't qualify because some of the "characters" are not valid.

Depending on what you then need to do with the string once you have it in IIB, you could hold it as a BLOB.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » ImbConverterCPP::internalToUnicode
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.