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 Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 11 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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