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 DB2 table through SYNCSORT - To replace null values

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

New User


Joined: 27 Jan 2008
Posts: 4
Location: mumbai

PostPosted: Mon Sep 01, 2008 4:43 pm    Post subject: Unload DB2 table through SYNCSORT - To replace null values
Reply with quote

Hi,

I am unloading DB2 table using SYNCSORT by passing following querry

SELECT *
FROM table
WHERE NAME='ABC'

O/P file contains each field value followed by a Null Indicator(1 Byte).
How can we replace null vaues by spaces/zeros(while querrying itself)?
Back to top
View user's profile Send private message

sachinmallya83

New User


Joined: 27 Jan 2008
Posts: 4
Location: mumbai

PostPosted: Mon Sep 08, 2008 10:57 am    Post subject:
Reply with quote

Can anyone answer?
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 Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 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