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 » convert blob to clob

Post new topic  Reply to topic
 convert blob to clob « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Mon Nov 27, 2017 3:45 pm    Post subject: convert blob to clob Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 388
Location: NY NY USA 10021

HI to all,

On IIB10 I have this line converting body to BLOB and putting on Q:
SET ENV.msgBlob = CAST(ASBITSTREAM(inRef.DFDL SET inRef.Properties.MessageSet TYPE inRef.Properties.MessageType) AS BLOB);

On a JAVA app I need to convert back to string and insert to oracle as CLOB.
Anyone as a quick way doing that?


First on JAVA I try getting CCSID, but when running this: String codePage = myMsg.getStringProperty(MQC.CCSID_PROPERTY);
I get: com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2471'.

Then (when i get codePage to work) I am thinking to convert the body-string with codePage.

Anyone has any idea why getting 2471?
Any better ideas how to convert?

Thanks,
Ma
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » convert blob to clob
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.