MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

updating unique records using spufi

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
icon
Beginner


Joined: 10 Jun 2003
Posts: 5
Topics: 2

PostPosted: Wed Jun 22, 2005 7:02 am    Post subject: updating unique records using spufi Reply with quote

say i have to update 1000 unique records, is there a db2 utility out there that can do this? is there something built into spufi to do this?

update table
set field_2 to aaa
where field_1 = xxx;

i have a file that contains values for aaa and xxx.

my alternatives are:
1) write a cobol program
2) write 1000 iterations of the sql statement
3) others??

tia
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Wed Jun 22, 2005 7:54 am    Post subject: Reply with quote

icon,

Please search before posting. check these links which discuss the updation of DB2 table.

http://www.mvsforums.com/helpboards/viewtopic.php?t=3369&highlight=sqlcards

http://www.mvsforums.com/helpboards/viewtopic.php?t=2787&highlight=sqlcards

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group