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 » blob to integer

Post new topic  Reply to topic
 blob to integer « View previous topic :: View next topic » 
Author Message
chanduy9
PostPosted: Wed Feb 13, 2002 12:26 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
i am sending flat file as a input, i converting the file in to BLOB then i am counting the number of records, i converted integer value to BLOB and added to the message,then i am using resetcontent descriptor to convert the message to MRM, after that, the value which i added to the message is in still HEX values,when i am trying to convert back BLOB to Integer i am getting error.
how to convert the HEX values to Integer...
Thanks in advance..
Chandra.
Back to top
View user's profile Send private message
amigupta1978
PostPosted: Wed Feb 13, 2002 12:41 pm    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2002
Posts: 132
Location: India

Hi,
Can u explain more how did u convert the integer to blob... I mean did u first converted it into String then to a blob or how did u did that. If u did that in the above said way then first convert ur blob back to String and then cast the string as integer.

Amit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
chanduy9
PostPosted: Wed Feb 13, 2002 12:56 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
i converted the Integer value to CHAR..then CHAR to BLOB..when i do the reverse i am not getting error.
Thanks,
Chandra.
Back to top
View user's profile Send private message
chanduy9
PostPosted: Wed Feb 13, 2002 1:17 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
I am sorry... i convered Integer to Blob..
Thanks,
Chandra.
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 » blob to integer
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.