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
 

 

Exclude Null Columns while unload db2 table using DSNTIAUL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
contact4me
Warnings : 1

New User


Joined: 02 Jun 2006
Posts: 2

PostPosted: Fri Jun 02, 2006 10:23 pm    Post subject: Exclude Null Columns while unload db2 table using DSNTIAUL
Reply with quote

Hi
Anyone explain how to Exclude the Null Columns while unload db2 table using DSNTIAUL utility?
Is there any way code in SELECT statement to exclude null values to unload data set??
Back to top
View user's profile Send private message

Gurmeet

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Tue Jun 06, 2006 9:52 pm    Post subject:
Reply with quote

You can do so by creating a view and exclude the null columns from the view.

~Gurmeet
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Wed Jun 07, 2006 11:37 am    Post subject:
Reply with quote

Since DSNTIAUL supports normal select statements, you can code select statement which would exclude the nullable columns(provided you know which are the nullable columns) or else if you just want to supress the null indicators you can just use COALESCE function in SELECT.
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm


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