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

how will we uploading the BLOB column from sybase to DB2 ?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vijay.S
Warnings : 1

New User


Joined: 09 Jan 2007
Posts: 8
Location: chennai

PostPosted: Thu Mar 25, 2010 11:52 am
Reply with quote

Hi Team,

My requirement is need to store the images(which are already available in sybase datbase) to new db2 table.

Noramlly, Images will be stored in BLOB format. we need to load the same into db2 table

Does any have idea about how to migrate the sybase BLOB data in to DB2 table ?

Regards
Vijay.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 25, 2010 5:16 pm
Reply with quote

www.ibmmainframes.com/viewtopic.php?t=36854&highlight=blob
www.ibmmainframes.com/viewtopic.php?t=45168&highlight=blob
www.ibmmainframes.com/viewtopic.php?t=8569&highlight=blob
Back to top
View user's profile Send private message
Vijay.S
Warnings : 1

New User


Joined: 09 Jan 2007
Posts: 8
Location: chennai

PostPosted: Fri Mar 26, 2010 10:45 am
Reply with quote

Thanks Anuj.

Ex : BLOB of Oracle might not be compatible to BLOB of DB2. we need to format the images before uploading into db2 table ( if migration is from oracle to db2)

Similarly BLOB of Sybase might or might not be comaptible to BLOB of db2. i dont have idea about this.

Do we need to do formatting before the images be uploaded in to DB2 table? and any documetns related to migration from SYBASE to DB2?




Regards,
Vijay
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 26, 2010 2:00 pm
Reply with quote

Quote:
Similarly BLOB of Sybase might or might not be comaptible to BLOB of db2.


a BLOB is a BLOB ==> Binary Large OBject the content is a sequence of bits, and as such it is relevant only to the application dealing with it,
it will be completely irrelevant to the DBMS

thing might be different for a CLOB ( Char large object ), codepages,utf, and so on
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Mar 26, 2010 3:00 pm
Reply with quote

Try these links:

publib.boulder.ibm.com/infocenter/iwedhelp/v6r0/index.jsp?topic=/com.ibm.db2e.doc/dbsap_b5.html

citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.112.6626&rep=rep1&type=pdf
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts Storing a BLOB/CLOB in PL/I PL/I & Assembler 4
No new posts first column truncated in search result IBM Tools 13
Search our Forums:

Back to Top