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

how to get rid of the null indicator when unloads a table?


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

New User


Joined: 15 Jan 2009
Posts: 6
Location: China

PostPosted: Wed Jul 15, 2009 2:30 pm
Reply with quote

Hi,

As you know, when a column in a table is nullable, when we unload this column, the unload utility will append an extra 'null indicator' next to the column in the unload file.

But I don't want this 'null indicator' in the unload file and also I don't want to change this column to NOT NULL. Is there any simple way to accomplish this?

Thanks!!
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Wed Jul 15, 2009 2:50 pm
Reply with quote

You can use the CASEstatement.
Back to top
View user's profile Send private message
yincw

New User


Joined: 15 Jan 2009
Posts: 6
Location: China

PostPosted: Wed Jul 15, 2009 3:03 pm
Reply with quote

thanks, I'll try
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top