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
 

 

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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us