Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us