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

Load specific values to a column for all rows


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Dynamically build unload and load sta... DB2 14
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top