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
 
Load specific values to a column for all rows

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

New User


Joined: 19 Aug 2008
Posts: 4
Location: Chennai

PostPosted: Tue Sep 28, 2010 3:48 pm    Post subject: Load specific values to a column for all rows
Reply with quote

Hi,

i have load card (LOAD REPLACE) which loads to table X. One of the columns (say Y) in the table receive spaces through the input file. I need to populate this field with a preset value 'SOURCE'. Can this be achieved by any keywords in the control card ? Or do i have to populate it in the input file and then load into the table/ write an update query for updating that column ?

Thanks
Karthick
Back to top
View user's profile Send private message

mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Mon Oct 25, 2010 1:07 pm    Post subject: Reply to: Load specific values to a column for all rows
Reply with quote

Can you please elaborate your requirement? You are saying that you want preset the value "SOURCE" in the one of the column. Do you mean to say prefix the string "SOURCE" to the value coming from the file?
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 Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Can we combine the rows with same key... V S Amarendra Reddy DB2 12 Fri Dec 01, 2017 10:29 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am

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