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

DB2 tables using the utility DSNTIAUL- Null Indicator Handle


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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:29 pm
Reply with quote

Hi

While unloading data from DB2 tables using the utility DSNTIAUL, the allow null columns unload the Null indicator byte as well into the dataset. How do I avoid unloading the extra byte ?

For eg:- If Col1 (char (1), Allow Null ) has a Value 'A' in the table. While unloading this field the dataset will Have 'A.' My question is how do I skip the 'dot' while unloading ? Is there any function or any Parms available ?

Appreciate your help

Thanks
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 3:40 pm
Reply with quote

1. If your are using Unload file for further processing in yout job stream, then you can use SYNCSORT utility to remove the dots in your unload file.
2. if the number of columns are less, then in the select statement you can use COALESCE function for nullable columns.
3. if BMC is supported in your installation, then go in for BMC unload which supports replacemt of null value. while unloading you can just say ' IF NULL VALUE( whetever in single quotes)
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Use of long filenames with GDKUTIL ut... IBM Tools 3
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts how to eliminate null indicator value... DB2 7
Search our Forums:


Back to Top