Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 LOW VALUES as a KEY juares castro DB2 10 Sat Apr 07, 2018 1:06 am
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us