|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
blob to integer |
« View previous topic :: View next topic » |
Author |
Message
|
chanduy9 |
Posted: Wed Feb 13, 2002 12:26 pm Post subject: |
|
|
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 |
|
 |
amigupta1978 |
Posted: Wed Feb 13, 2002 12:41 pm Post subject: |
|
|
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 |
|
 |
chanduy9 |
Posted: Wed Feb 13, 2002 12:56 pm Post subject: |
|
|
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 |
|
 |
chanduy9 |
Posted: Wed Feb 13, 2002 1:17 pm Post subject: |
|
|
Disciple
Joined: 28 Nov 2001 Posts: 177 Location: USA
|
Hi,
I am sorry... i convered Integer to Blob..
Thanks,
Chandra. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|