Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Unload BLOB type data from DB2 table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Krishnadeva Reddy

New User


Joined: 14 Nov 2007
Posts: 36
Location: Chennai

PostPosted: Fri Jan 21, 2011 10:36 pm    Post subject: Unload BLOB type data from DB2 table
Reply with quote

Hi,

I'm trying to unload a DB2 table which has 5 columns and one column is of BLOB data type (having XML data) to a flat file using BMC UNLOAD utility.

UNLOAD SHRLEVEL REFERENCE
SELECT * FROM table1

Where I'm receiving below error.

BMC51605E FOR FIELD 'DOC_XML_TXT', DATA TYPE 'BLOB ..' IS INCOMPATIBLE WITH COLUMN DATA TYPE 'BLOB' OR LENGTH

Could you please help us what kind of conversion need to be specified to unload this table into flat file?

Thanks in advance.
Back to top
View user's profile Send private message

Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Fri Jan 21, 2011 10:58 pm    Post subject:
Reply with quote

Last I knew, BMC Unload did not support the unload of any LOB types unless the value of the column was null or had a zero length. But that was a while ago.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us