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 » Passing a CLOB from a compute Node to a Oracle Procedure

Post new topic  Reply to topic
 Passing a CLOB from a compute Node to a Oracle Procedure « View previous topic :: View next topic » 
Author Message
nicojvr
PostPosted: Thu Jun 26, 2003 8:04 am    Post subject: Passing a CLOB from a compute Node to a Oracle Procedure Reply with quote

Apprentice

Joined: 04 Jun 2003
Posts: 45

Hi guys,

How do I pass a BLOB (Input message) as a CLOB to an oracle(9i) procedure?

Thanks

Nico
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 26, 2003 8:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

First, you'll probably need to convert InputRoot.BLOB.BLOB to a character datatype rather than a BLOB datatype. This is done using the CAST function.

Then you use the result of that conversion to call your Oracle stored procedure - in the same way you pass any values into an Oracle stored procedure.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 26, 2003 8:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

First, you'll probably need to convert InputRoot.BLOB.BLOB to a character datatype rather than a BLOB datatype. This is done using the CAST function.

Then you use the result of that conversion to call your Oracle stored procedure - in the same way you pass any values into an Oracle stored procedure.
Back to top
View user's profile Send private message
nicojvr
PostPosted: Mon Jun 30, 2003 8:19 am    Post subject: Reply with quote

Apprentice

Joined: 04 Jun 2003
Posts: 45

thanks Jeff.Problem resolved..

Cheers

Nico
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 » Passing a CLOB from a compute Node to a Oracle Procedure
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.