IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

BLOB conversion


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bshkris

New User


Joined: 21 Mar 2005
Posts: 41
Location: pune

PostPosted: Wed Jul 28, 2010 2:09 pm
Reply with quote

I have one question on BLOB conversion.

Is it possible to move VARCHAR data into varaible(column) which declared as BLOB in a table? The VARCHAR variable contains the non English data, and I want to display on the screen as an Image. So I must need to convert the data into as BLOB data first and after I can pull it from table and make it as an attachment to view by using some procedure which already available in the system .

Please clarify me kindly. Thank you very much.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Wed Jul 28, 2010 4:02 pm
Reply with quote

is the varchar FOR BIT DATA?
when you say conversion, do you mean a CAST,
or select into host variable from varchar, and then insert from host var into BLOB?
Back to top
View user's profile Send private message
bshkris

New User


Joined: 21 Mar 2005
Posts: 41
Location: pune

PostPosted: Thu Jul 29, 2010 1:03 pm
Reply with quote

I mean, I need to select the varchar data from table, and need to insert into column which declared as BLOB.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Thu Jul 29, 2010 1:13 pm
Reply with quote

is the varchar FOR BIT DATA?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts GDG generation name to GDG Base name ... DFSORT/ICETOOL 3
No new posts FB to .CSV conversion using sort DFSORT/ICETOOL 7
No new posts small int to zoned decimal conversion DFSORT/ICETOOL 3
No new posts 10 byte RBA conversion DB2 2
Search our Forums:


Back to Top